Add health check command
This commit is contained in:
parent
c9f876e70f
commit
16dfc313f0
|
@ -19,6 +19,12 @@ services:
|
|||
- KEYCLOAK_PASSWORD_FILE=/run/secrets/admin_passwd
|
||||
- KEYCLOAK_USER="${ADMIN_USERNAME}"
|
||||
- PROXY_ADDRESS_FORWARDING=true
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "http://localhost:8080"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
start_period: 1m
|
||||
depends_on:
|
||||
- mariadb
|
||||
deploy:
|
||||
|
|
Reference in New Issue