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:
|
||||
pyroscope:
|
||||
image: grafana/pyroscope:1.5.0
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- 4040
|
||||
volumes:
|
||||
|
@ -31,6 +32,7 @@ services:
|
|||
|
||||
loki:
|
||||
image: grafana/loki:2.9.6
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- "3100"
|
||||
command: -config.file=/etc/loki/config.yaml
|
||||
|
@ -40,7 +42,7 @@ services:
|
|||
|
||||
prometheus:
|
||||
image: prom/prometheus:v2.51.1
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- "9090"
|
||||
volumes:
|
||||
|
@ -53,6 +55,7 @@ services:
|
|||
|
||||
tempo:
|
||||
image: grafana/tempo:2.4.1
|
||||
restart: unless-stopped
|
||||
command: ["-config.file=/etc/tempo/config.yaml"]
|
||||
depends_on:
|
||||
- prometheus
|
||||
|
@ -66,6 +69,7 @@ services:
|
|||
|
||||
grafana:
|
||||
image: grafana/grafana:10.4.1
|
||||
restart: unless-stopped
|
||||
links:
|
||||
- loki
|
||||
- prometheus
|
||||
|
|
Loading…
Reference in a new issue