-
Notifications
You must be signed in to change notification settings - Fork 2
/
compose.prod.yml
44 lines (37 loc) · 952 Bytes
/
compose.prod.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
version: "3"
services:
prometheus:
image: prom/prometheus:v2.30.3
ports:
- 9000:9090
volumes:
- ./prometheus:/etc/prometheus
- prometheus-data:/prometheus
command: --web.enable-lifecycle --config.file=/etc/prometheus/prometheus.yml
grafana:
image: grafana/grafana:8.2.2
ports:
- 3000:3000
restart: unless-stopped
volumes:
- ./grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
- grafana-data:/var/lib/grafana
alertmanager:
image: prom/alertmanager:v0.23.0
restart: unless-stopped
ports:
- "9093:9093"
volumes:
- "./prometheus:/config"
- alertmanager-data:/data
command: --config.file=/config/alertmanager.yml --log.level=debug
monitoring:
image: ghcr.io/astraly-labs/pragma-monitoring
env_file:
- .env
ports:
- 8080:8080
volumes:
prometheus-data:
grafana-data:
alertmanager-data: