compose: add healthcheck
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
3b9343debf
commit
4912d1f9e8
@ -15,6 +15,13 @@ services:
|
||||
volumes:
|
||||
# So that traefik can listen to the Docker events
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
healthcheck:
|
||||
# DON'T
|
||||
# test: "/usr/bin/wget -q -Y off http://localhost:80/about -O /dev/null > /dev/null 2>&1"
|
||||
# DO:
|
||||
test: "/usr/bin/wget -q -Y off http://localhost:80/about -O /dev/null 2>&-"
|
||||
interval: 10s
|
||||
retries: 20
|
||||
|
||||
homepage:
|
||||
build:
|
||||
|
Loading…
Reference in New Issue
Block a user