Add health check command

This commit is contained in:
Luke Murphy 2020-06-22 17:35:14 +02:00
parent c9f876e70f
commit 16dfc313f0
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 6 additions and 0 deletions

View File

@ -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: