nforwardauth: add healthcheck #56

Merged
mg merged 5 commits from kph2 into master 2024-05-07 01:33:06 +02:00

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", "--spider", "--tries=1", "http://127.0.0.1:3000/login"]
interval: 30s
timeout: 10s
retries: 3
######## Networks ######## ######## Networks ########
networks: networks: