-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose.yaml
59 lines (55 loc) · 1.65 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
services:
node-exporter:
image: prom/node-exporter:latest
container_name: node-exporter
restart: unless-stopped
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
command:
- '--path.procfs=/host/proc'
- '--path.rootfs=/rootfs'
- '--path.sysfs=/host/sys'
- '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
ports:
- 9100:9100
prometheus:
image: prom/prometheus:latest
container_name: prometheus
restart: unless-stopped
volumes:
- ./etc/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
- ./.tmp/prometheus:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/etc/prometheus/console_libraries'
- '--web.console.templates=/etc/prometheus/consoles'
- '--web.enable-lifecycle'
ports:
- 9090:9090
extra_hosts:
- "host.docker.internal:host-gateway"
grafana:
image: grafana/grafana:latest
container_name: grafana
volumes:
- ./etc/grafana/grafana.ini:/etc/grafana/grafana.ini
- ./etc/grafana/provisioning:/etc/grafana/provisioning
- ./etc/grafana/dashboards:/var/lib/grafana/dashboards
ports:
- 3000:3000
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
jaeger:
image: jaegertracing/all-in-one:latest
container_name: jaeger
command:
- '--collector.otlp.enabled=true'
ports:
# https://www.jaegertracing.io/docs/1.58/getting-started/
- 6831:6831/udp
- 6832:6832/udp
- 16686:16686
- 4317:4317