-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
68 lines (65 loc) · 1.82 KB
/
docker-compose.dev.yml
File metadata and controls
68 lines (65 loc) · 1.82 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
60
61
62
63
64
65
66
67
68
version: '3.7'
services:
prometheus-poweredge:
image: prom/prometheus:latest
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- ./prometheus:/etc/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
prometheus-federated:
restart: always
image: prom/prometheus:latest
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- ./prometheus/alert_rules.yml:/etc/prometheus/alert_rules.yml
- ./prometheus/prometheus.federate.yml:/etc/prometheus/prometheus.yml
command:
- '--config.file=/etc/prometheus/prometheus.yml'
ports:
- 9090:9090
alertmanager:
image: prom/alertmanager:v0.27.0
restart: unless-stopped
volumes:
- "./alertmanager:/config"
- alertmanager-data:/data
command: --config.file=/config/alertmanager.yml --log.level=debug --cluster.advertise-address=0.0.0.0:9093
# discord-alerts:
# image: benjojo/alertmanager-discord
# restart: unless-stopped
# environment:
# - DISCORD_WEBHOOK=${DISCORD_WEBHOOK_URL}
grafana:
build:
context: ./grafana/
dockerfile: ./Dockerfile.dev
restart: always
volumes:
- grafana-data:/var/lib/grafana
ports:
- 3000:3000
status-page:
restart: unless-stopped
build:
context: ./system_status
dockerfile: Dockerfile
ports:
- 9100:9100
volumes:
- ./system_status/server.py:/app/server.py
- ./system_status/static:/app/static
- ./system_status/templates:/app/templates
poweredge-2950-node-exporter:
image: quay.io/prometheus/node-exporter:latest
command:
- '--path.rootfs=/host'
pid: host
restart: unless-stopped
volumes:
alertmanager-data:
grafana-data:
portainer_data: