Add health check and configure update order
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
305ec20d27
commit
92dbaf254f
@ -21,9 +21,16 @@ services:
|
||||
- PROXY_ADDRESS_FORWARDING=true
|
||||
depends_on:
|
||||
- mariadb
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "http://localhost:8080"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
start_period: 1m
|
||||
deploy:
|
||||
update_config:
|
||||
failure_action: rollback
|
||||
order: start-first
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.keycloak.rule=Host(`id.autonomic.zone`)"
|
||||
|
Reference in New Issue
Block a user