-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.observability.yml
More file actions
59 lines (57 loc) · 1.65 KB
/
Copy pathdocker-compose.observability.yml
File metadata and controls
59 lines (57 loc) · 1.65 KB
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
services:
prometheus:
image: prom/prometheus:v2.51.1
command:
- --config.file=/etc/prometheus/prometheus.yml
- --web.enable-lifecycle
ports:
- "9091:9090"
volumes:
- ./local-infra/observability/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
- ./local-infra/observability/prometheus/alert.rules.yml:/etc/prometheus/alert.rules.yml:ro
extra_hosts:
- "host.docker.internal:host-gateway"
deploy:
resources:
limits:
memory: 384M
reservations:
memory: 128M
tempo:
image: grafana/tempo:2.4.1
command:
- -config.file=/etc/tempo.yml
ports:
- "3200:3200"
- "9411:9411"
- "4317:4317"
- "4318:4318"
volumes:
- ./local-infra/observability/tempo/tempo.yml:/etc/tempo.yml:ro
deploy:
resources:
limits:
memory: 384M
reservations:
memory: 128M
grafana:
image: grafana/grafana:10.4.2
ports:
- "3001:3000"
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_BASIC_ENABLED=false
volumes:
- ./local-infra/observability/grafana/provisioning/datasources/datasources.yml:/etc/grafana/provisioning/datasources/datasources.yml:ro
- ./local-infra/observability/grafana/provisioning/dashboards/dashboards.yml:/etc/grafana/provisioning/dashboards/dashboards.yml:ro
- ./local-infra/observability/grafana/dashboards:/etc/grafana/dashboards:ro
depends_on:
- prometheus
- tempo
deploy:
resources:
limits:
memory: 256M
reservations:
memory: 64M