Fix grafana not restarting.
parent
1abe505ef9
commit
567885af60
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue