compose: add healthcheck
This commit is contained in:
parent
a73f1e8ea7
commit
d1d55e4645
@ -22,6 +22,10 @@ services:
|
||||
- GF_ANALYTICS_REPORTING_ENABLED=false
|
||||
- GF_SECURITY_ADMIN_PASSWORD=$GF_ADMIN_PASSWORD
|
||||
- GF_ALLOWED_ORIGINS="https://*.dotya.ml"
|
||||
healthcheck:
|
||||
test: "/usr/bin/wget -q -Y off http://localhost:3000/api/health -O /dev/null > /dev/null 2>&1"
|
||||
interval: 10s
|
||||
retries: 20
|
||||
|
||||
volumes:
|
||||
grafana_data:
|
||||
|
Loading…
Reference in New Issue
Block a user