auto restart
This commit is contained in:
parent
4d97515fd8
commit
2e1974c05d
1 changed files with 5 additions and 1 deletions
|
@ -3,6 +3,7 @@ version: "3"
|
||||||
services:
|
services:
|
||||||
pyroscope:
|
pyroscope:
|
||||||
image: grafana/pyroscope:1.5.0
|
image: grafana/pyroscope:1.5.0
|
||||||
|
restart: unless-stopped
|
||||||
expose:
|
expose:
|
||||||
- 4040
|
- 4040
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -31,6 +32,7 @@ services:
|
||||||
|
|
||||||
loki:
|
loki:
|
||||||
image: grafana/loki:2.9.6
|
image: grafana/loki:2.9.6
|
||||||
|
restart: unless-stopped
|
||||||
expose:
|
expose:
|
||||||
- "3100"
|
- "3100"
|
||||||
command: -config.file=/etc/loki/config.yaml
|
command: -config.file=/etc/loki/config.yaml
|
||||||
|
@ -40,7 +42,7 @@ services:
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
image: prom/prometheus:v2.51.1
|
image: prom/prometheus:v2.51.1
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
expose:
|
expose:
|
||||||
- "9090"
|
- "9090"
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -53,6 +55,7 @@ services:
|
||||||
|
|
||||||
tempo:
|
tempo:
|
||||||
image: grafana/tempo:2.4.1
|
image: grafana/tempo:2.4.1
|
||||||
|
restart: unless-stopped
|
||||||
command: ["-config.file=/etc/tempo/config.yaml"]
|
command: ["-config.file=/etc/tempo/config.yaml"]
|
||||||
depends_on:
|
depends_on:
|
||||||
- prometheus
|
- prometheus
|
||||||
|
@ -66,6 +69,7 @@ services:
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana:10.4.1
|
image: grafana/grafana:10.4.1
|
||||||
|
restart: unless-stopped
|
||||||
links:
|
links:
|
||||||
- loki
|
- loki
|
||||||
- prometheus
|
- prometheus
|
||||||
|
|
Loading…
Reference in a new issue