Fix grafana not restarting.
parent
1abe505ef9
commit
567885af60
|
@ -7,6 +7,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- "./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml"
|
- "./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml"
|
||||||
- "${PROMETHEUS_DATA_DIR:?specify data dir in .env file}:/prometheus"
|
- "${PROMETHEUS_DATA_DIR:?specify data dir in .env file}:/prometheus"
|
||||||
|
restart: always
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "host.docker.internal:host-gateway"
|
- "host.docker.internal:host-gateway"
|
||||||
ports:
|
ports:
|
||||||
|
@ -15,6 +16,7 @@ services:
|
||||||
build:
|
build:
|
||||||
context: ./grafana
|
context: ./grafana
|
||||||
user: root
|
user: root
|
||||||
|
restart: always
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "host.docker.internal:host-gateway"
|
- "host.docker.internal:host-gateway"
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in New Issue