Skip to content

Commit

Permalink
Fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonpoltorak committed Apr 9, 2024
1 parent ad9e6c6 commit 470e42f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ services:
- "./.cache/corn-backend/.gradle:/home/corn/.gradle"
- "./.cache/corn-backend/build:/home/corn/build"
healthcheck:
test: [ "CMD", "curl", "--fail", "http://localhost:8081/actuator/health" ]
interval: 1s
test: "curl -f http://localhost:8081/actuator/health"
interval: 2s
retries: 120
start_period: 15s
timeout: 5s
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:
context: corn-backend
dockerfile: Dockerfile.prod
healthcheck:
test: "curl -f http://localhost:8081/actuator/health || exit 1"
test: "curl -f http://localhost:8081/actuator/health"
interval: 1s
retries: 120
start_period: 15s
Expand Down Expand Up @@ -60,7 +60,7 @@ services:
dockerfile: Dockerfile.prod
depends_on:
corn-keycloak:
condition: service_started
condition: service_healthy
environment:
- KCCFG_OVERRIDE_EXISTING=false
- KCCFG_LOGIN_THEME_NAME=corn
Expand Down

0 comments on commit 470e42f

Please sign in to comment.