Fix grafana not restarting.

main
mathan 2024-03-28 14:57:20 -07:00
parent 1abe505ef9
commit 567885af60
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ services:
volumes:
- "./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml"
- "${PROMETHEUS_DATA_DIR:?specify data dir in .env file}:/prometheus"
restart: always
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
@ -15,6 +16,7 @@ services:
build:
context: ./grafana
user: root
restart: always
extra_hosts:
- "host.docker.internal:host-gateway"
ports: