nforwardauth: add healthcheck
This commit is contained in:
parent
966f9328dc
commit
5a5e88378d
1 changed files with 5 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue