Add docker healthy check for Grafana

This commit is contained in:
xbgmsharp
2023-01-28 21:47:05 +01:00
parent c0b6f17488
commit 552faa0a16

View File

@@ -59,6 +59,12 @@ services:
logging:
options:
max-size: 10m
healthcheck:
test: ["CMD-SHELL", "sh -c 'curl --fail http://localhost:3000/healthz || exit 1'"]
interval: 60s
timeout: 10s
retries: 5
start_period: 100s
volumes:
data: {}