Add a healthcheck
This commit is contained in:
parent
7821daff4b
commit
15fa760f42
@ -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
|
||||
|
Reference in New Issue
Block a user