compose: add healthcheck
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-09-09 13:21:44 +02:00
parent 3b9343debf
commit 4912d1f9e8
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

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