Fix healthcheck

This commit is contained in:
3wc 2021-07-11 15:39:12 +02:00
parent 20f764847c
commit e845e28af0
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ services:
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true" #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
healthcheck: healthcheck:
test: ["CMD", "wget", "--tries=1", "http://localhost:5000"] test: ["CMD", "wget", "--tries=1", "http://localhost:5000", "-O", "/dev/null"]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 10 retries: 10