Skip to content

Commit

Permalink
Drop broken health-check for keycloak
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Jan 3, 2025
1 parent 84cae6f commit 1614dbb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
healthcheck: &dev-healthcheck
test: >-
/code/docker/docker-entrypoint.sh python -c 'import requests;
requests.get("http://127.0.0.1:8080/health/live").raise_for_status();
requests.get("http://127.0.0.1:8080").raise_for_status();
requests.get("http://127.0.0.1:5004/healthcheck").raise_for_status();
'
interval: 1s
Expand All @@ -43,11 +43,10 @@ services:
- 127.0.0.1:5004:5004
- 127.0.0.1:8080:8080
environment:
- KEYCLOAK_ADMIN=admin
- KEYCLOAK_ADMIN_PASSWORD=admin
- KC_BOOTSTRAP_ADMIN_USERNAME=admin
- KC_BOOTSTRAP_ADMIN_PASSWORD=admin
command:
- start-dev
- --health-enabled=true
- --import-realm
volumes:
- ./docker/keycloak/realm-export.json:/opt/keycloak/data/import/realm-export.json:ro,z
Expand Down

0 comments on commit 1614dbb

Please sign in to comment.