-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
93 lines (82 loc) · 2.52 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
version: '3.8'
services:
# Tempo Container
tempo_svc:
image: grafana/tempo:2.4.1
command: [ "-config.file=/etc/tempo.yaml" ]
volumes:
- ./configs/tempo/tempo.yaml:/etc/tempo.yaml
- tempo_data:/tmp/tempo
ports:
- 14268:14268 # jaeger ingest
- 3200:3200 # tempo
- 9095:9095 # tempo grpc
- 4317:4317 # otlp grpc
- 4318:4318 # otlp http
- 9411:9411 # zipkin
# Prometheus Container
prometheus_svc:
image: prom/prometheus:v2.51.2
command:
- --config.file=/etc/prometheus/prometheus.yml
- --web.enable-remote-write-receiver
- --enable-feature=exemplar-storage
- --storage.tsdb.path=/prometheus
volumes:
- ./configs/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
- prometheus_data:/prometheus
ports:
- 9090:9090
restart: unless-stopped
# Grafana Container
grafana_svc:
image: grafana/grafana:10.4.2
environment:
- GF_SECURITY_ADMIN_USER=${ADMIN_USER:-admin}
- GF_SECURITY_ADMIN_PASSWORD=${ADMIN_PASSWORD:-admin}
- GF_USERS_ALLOW_SIGN_UP=false
- GF_FEATURE_TOGGLES_ENABLE=publicDashboards
volumes:
- ./configs/grafana/grafana.ini:/etc/grafana/grafana.ini
- grafana_data:/var/lib/grafana
- grafana_logs:/var/log/grafana
ports:
- 3000:3000
restart: unless-stopped
# Loki Container
loki_svc:
image: grafana/loki:3.0.0
command:
- -config.file=/etc/loki/local-config.yaml
ports:
- 3100:3100
restart: unless-stopped
# Pyroscope Container
pyroscope_svc:
image: grafana/pyroscope:1.5.0
ports:
- 4040:4040
restart: unless-stopped
# Alertmanager Container
alertmanager_svc:
image: prom/alertmanager:v0.27.0
command:
- --config.file=/etc/alertmanager/alertmanager.yml
- --log.level=debug
ports:
- 9093:9093
volumes:
- ./configs/alertmanager/alertmanager.yml:/etc/alertmanager/alertmanager.yml"
- alertmanager_data:/data
restart: unless-stopped
volumes:
prometheus_data:
driver: local
grafana_data:
driver: local
grafana_logs:
driver: local
tempo_data:
driver: local
alertmanager_data:
driver: local