Add a healthcheck

This commit is contained in:
Luke Murphy 2020-06-30 12:42:01 +02:00
parent 7821daff4b
commit 15fa760f42
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -22,6 +22,12 @@ services:
networks:
- proxy
- internal
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"]
interval: 15s
timeout: 10s
retries: 10
start_period: 30s
deploy:
restart_policy:
condition: on-failure