nforwardauth: add healthcheck #56

Merged
mg merged 5 commits from kph2 into master 2024-05-07 01:33:06 +02:00
Showing only changes of commit 5a5e88378d - Show all commits

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: