updated mealie healthcheck
This commit is contained in:
@@ -35,11 +35,11 @@ services:
|
|||||||
limits:
|
limits:
|
||||||
memory: 1000M
|
memory: 1000M
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:9000/"]
|
test: ["CMD-SHELL", "python3 -c \"import socket; s=socket.create_connection(('localhost',9000),2); s.close()\""]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
start_period: 30s
|
start_period: 60s
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.mealie.rule=Host(`recipes.${DOMAIN}`)"
|
- "traefik.http.routers.mealie.rule=Host(`recipes.${DOMAIN}`)"
|
||||||
|
|||||||
Reference in New Issue
Block a user