mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-14 10:34:06 +02:00
playwright (#6025)
This commit is contained in:
@@ -55,8 +55,8 @@ services:
|
||||
context: ../..
|
||||
dockerfile: docker/embedded/Dockerfile
|
||||
extra_hosts:
|
||||
- "localhost:host-gateway"
|
||||
- "${KEYCLOAK_HOST:-kubernetes.docker.internal}:host-gateway"
|
||||
localhost: host-gateway
|
||||
kubernetes.docker.internal: host-gateway
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:8080$${SYSTEM_ROOTURIPATH:-''}/api/v1/info/status | grep -q 'UP'"]
|
||||
interval: 5s
|
||||
|
||||
@@ -9,9 +9,10 @@ NC='\033[0m'
|
||||
echo -e "${YELLOW}Validating OAuth test environment...${NC}"
|
||||
echo ""
|
||||
|
||||
# Check Keycloak health
|
||||
# Check Keycloak health — Keycloak 24+ moved /health off the main listener,
|
||||
# so probe the realm directly which is the meaningful liveness check anyway.
|
||||
echo -n "Checking Keycloak health... "
|
||||
if curl -sf http://localhost:9080/health/ready > /dev/null 2>&1; then
|
||||
if curl -sf http://localhost:9080/realms/stirling-oauth > /dev/null 2>&1; then
|
||||
echo -e "${GREEN}✓${NC}"
|
||||
else
|
||||
echo -e "${RED}✗ Keycloak is not ready${NC}"
|
||||
|
||||
@@ -9,9 +9,10 @@ NC='\033[0m'
|
||||
echo -e "${YELLOW}Validating SAML test environment...${NC}"
|
||||
echo ""
|
||||
|
||||
# Check Keycloak health
|
||||
# Check Keycloak health — Keycloak 24+ moved /health off the main listener,
|
||||
# so probe the realm directly which is the meaningful liveness check anyway.
|
||||
echo -n "Checking Keycloak health... "
|
||||
if curl -sf http://localhost:9080/health/ready > /dev/null 2>&1; then
|
||||
if curl -sf http://localhost:9080/realms/stirling-saml > /dev/null 2>&1; then
|
||||
echo -e "${GREEN}✓${NC}"
|
||||
else
|
||||
echo -e "${RED}✗ Keycloak is not ready${NC}"
|
||||
|
||||
Reference in New Issue
Block a user