nforwardauth: add healthcheck
Some checks are pending
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline is running

This commit is contained in:
Michael Grote 2024-05-07 01:21:56 +02:00
parent 966f9328dc
commit 5a5e88378d

View file

@ -47,6 +47,11 @@ services:
- "./passwd:/passwd:ro" # Mount local passwd file at /passwd as read only - "./passwd:/passwd:ro" # Mount local passwd file at /passwd as read only
networks: networks:
- traefik - traefik
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://127.0.0.1:3000"]
interval: 30s
timeout: 10s
retries: 3
######## Networks ######## ######## Networks ########
networks: networks: