-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
125 lines (115 loc) · 3.24 KB
/
docker-compose.yml
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
networks:
era-monitor-net:
driver: bridge
volumes:
prometheus_data: {}
grafana_data: {}
qw_data: {}
services:
prometheus:
image: prom/prometheus:v2.52.0
container_name: prometheus
volumes:
- ./etc/prometheus:/etc/prometheus
- prometheus_data:/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'
- '--storage.tsdb.retention.time=200h'
- '--web.enable-lifecycle'
restart: unless-stopped
expose:
- 9090
networks:
- era-monitor-net
labels:
org.label-schema.group: "monitoring"
extra_hosts:
- "host.docker.internal:host-gateway"
grafana:
image: grafana/grafana:11.0.0
container_name: grafana
volumes:
- grafana_data:/var/lib/grafana
- ./etc/grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards
- ./etc/grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
- ./dashboards:/etc/era_dashboards
environment:
GF_INSTALL_PLUGINS: https://github.com/quickwit-oss/quickwit-datasource/releases/download/v0.4.6/quickwit-quickwit-datasource-0.4.6.zip;quickwit-quickwit-datasource
GF_AUTH_DISABLE_LOGIN_FORM: "true"
GF_AUTH_ANONYMOUS_ENABLED: "true"
GF_AUTH_ANONYMOUS_ORG_ROLE: Admin
restart: unless-stopped
expose:
- 3000
networks:
- era-monitor-net
labels:
org.label-schema.group: "monitoring"
pushgateway:
image: prom/pushgateway:v1.9.0
container_name: pushgateway
restart: unless-stopped
expose:
- 9091
networks:
- era-monitor-net
labels:
org.label-schema.group: "monitoring"
caddy:
image: caddy:2.7.6
container_name: caddy
ports:
- "3000:3000"
- "8080:8080"
- "9090:9090"
- "9093:9093"
- "9091:9091"
volumes:
- ./etc/caddy:/etc/caddy
environment:
- ADMIN_USER=${ADMIN_USER:-admin}
- ADMIN_PASSWORD=${ADMIN_PASSWORD:-admin}
- ADMIN_PASSWORD_HASH=${ADMIN_PASSWORD_HASH:-$2a$14$1l.IozJx7xQRVmlkEQ32OeEEfP5mRxTpbDTCTcXRqn19gXD8YK1pO}
restart: unless-stopped
networks:
- era-monitor-net
labels:
org.label-schema.group: "monitoring"
quickwit:
image: quickwit/quickwit:${QW_VERSION:-0.8.1}
volumes:
- qw_data:/quickwit/qwdata
ports:
- 7280:7280
- 7281:7281
environment:
- QW_ENABLE_OPENTELEMETRY_OTLP_EXPORTER=true
- OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:7281
command: ["run"]
networks:
- era-monitor-net
jaeger-query:
image: jaegertracing/jaeger-query:1.52
ports:
- 16686:16686
environment:
- SPAN_STORAGE_TYPE=grpc-plugin
- GRPC_STORAGE_SERVER=quickwit:7281
- GRPC_STORAGE_TLS=false
networks:
- era-monitor-net
opentelemetry-collector:
image: otel/opentelemetry-collector-contrib:0.106.0
volumes:
- ./etc/opentelemetry-collector:/etc/otelcol-contrib
ports:
- 4317:4317
- 4318:4318
- 55679:55679
networks:
- era-monitor-net
extra_hosts:
- "host.docker.internal:host-gateway"