-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
executable file
·90 lines (82 loc) · 2.29 KB
/
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
services:
alloy:
image: grafana/alloy:v1.6.1
command:
- run
- /etc/alloy
- --storage.path=/var/lib/alloy/data
- --server.http.listen-addr=0.0.0.0:12345
depends_on:
- loki
extra_hosts:
- host.docker.internal:host-gateway
networks:
default:
docker-monitoring_public:
aliases:
- docker-monitoring-collector
restart: unless-stopped
volumes:
- ./config/alloy:/etc/alloy
- alloy:/var/lib/alloy/data
- /var/run/docker.sock:/var/run/docker.sock
docker-exporter:
image: blackprism/docker-exporter:1.4
command:
- --docker-compose-only
- --volume
- --volume-computation-limit=5000
- --child-process
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker/volumes:/var/lib/docker/volumes:ro
grafana:
image: grafana/grafana:11.5.2
env_file:
- .env
environment:
GF_FEATURE_TOGGLES_ENABLE: "enableNativeHTTPHistogram"
GF_INSTALL_PLUGINS: https://storage.googleapis.com/integration-artifacts/grafana-exploretraces-app/grafana-exploretraces-app-latest.zip;grafana-traces-app,grafana-pyroscope-app
ports:
- "3000:3000"
restart: unless-stopped
volumes:
- grafana:/var/lib/grafana
loki:
image: grafana/loki:3.4
command: -config.file=/etc/loki/config.yaml --pattern-ingester.enabled=true
restart: unless-stopped
user: root
volumes:
- ./config/loki/config.yaml:/etc/loki/config.yaml
- loki:/data
prometheus:
image: prom/prometheus:v3.1.0
command: --web.enable-remote-write-receiver --enable-feature=native-histograms --config.file=/etc/prometheus/prometheus.yml
restart: unless-stopped
volumes:
- ./config/prometheus:/etc/prometheus
- prometheus:/prometheus
pyroscope:
image: grafana/pyroscope:1.12.0
networks:
- default
- docker-monitoring_public
restart: unless-stopped
tempo:
image: grafana/tempo:2.7.1
command: -config.file=/etc/tempo.yaml
restart: unless-stopped
volumes:
- ./config/tempo/config.yaml:/etc/tempo.yaml
- tempo:/var/tempo
networks:
docker-monitoring_public:
external: true
volumes:
alloy: {}
grafana: {}
loki: {}
tempo: {}
prometheus: {}