-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.mon.yaml
80 lines (73 loc) · 1.9 KB
/
compose.mon.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
services:
prometheus:
image: prom/prometheus:latest
container_name: prometheus
volumes:
- prometheus_data:/prometheus
- ./configs/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
extra_hosts:
- "host.docker.internal:host-gateway"
grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
- "3000:3000"
volumes:
- grafana_data:/var/lib/grafana
- ./configs/datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yml
- ./configs/grafana.ini:/etc/grafana/grafana.ini
environment:
- GF_PATHS_CONFIG=/etc/grafana/grafana.ini
loki:
image: grafana/loki:latest
container_name: loki
ports:
- "3100:3100"
volumes:
- ./configs/loki-config.yaml:/etc/loki/local-config.yaml
- loki-data:/data
command: -config.file=/etc/loki/local-config.yaml
depends_on:
- promtail
promtail:
image: grafana/promtail:latest
container_name: promtail
ports:
- "9080:9080"
volumes:
- ./configs/promtail-config.yaml:/etc/promtail/promtail-config.yaml
command: -config.file=/etc/promtail/promtail-config.yaml
jaeger:
image: jaegertracing/all-in-one:latest
container_name: jaeger
environment:
COLLECTOR_OTLP_ENABLED: "true"
volumes:
- jaeger_data:/var/lib/jaeger
ports:
- "4317:4317" # For Jaeger-GRPC
- "4318:4318" # For Jaeger-HTTP
- "16686:16686" # Web UI
extra_hosts:
- "host.docker.internal:host-gateway"
uptime-kuma:
image: louislam/uptime-kuma:latest
container_name: uptime-kuma
ports:
- "3001:3001"
volumes:
- uptime-kuma-data:/app/data
network_mode: host
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
default:
driver: bridge
volumes:
uptime-kuma-data:
jaeger_data:
loki-data:
prometheus_data:
grafana_data: