-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
84 lines (78 loc) · 1.84 KB
/
docker-compose.yml
File metadata and controls
84 lines (78 loc) · 1.84 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: '3.8'
services:
prometheus:
image: artifactory.asredanesh.com/docker/prometheus:v1
container_name: prometheus
ports:
- 9090:9090
restart: always
networks:
- prometheus
- haproxy
- zbx
node-exporter:
image: quay.io/prometheus/node-exporter
container_name: node-exporter
#volumes:
# - ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- 9100:9100
restart: always
networks:
- prometheus
- haproxy
- zbx
alertmanager:
image: quay.io/prometheus/alertmanager
container_name: alertmanager
volumes:
- ./alertmanager/config.yml:/etc/alertmanager/config.yml
#- ./prometheus/rules.yml:/etc/prometheus/rules.yml
ports:
- 9093:9093
restart: always
networks:
- prometheus
- haproxy
- zbx
grafana:
image: artifactory.asredanesh.com/docker/grafana:7.5.6-ubuntu
container_name: grafana
volumes:
- ./grafana/provisioning/:/etc/grafana/provisioning/
- ./grafana/plugins/:/var/lib/grafana/plugins/
ports:
- 3000:3000
# environment:
# - GF_INSTALL_PLUGINS=alexanderzobnin-zabbix-app
#- GF_SECURITY_ADMIN_USER=admin
#- GF_SECURITY_ADMIN_PASSWORD=password
restart: always
networks:
- prometheus
- haproxy
- zbx
cadvisor:
image: artifactory.asredanesh.com/docker/gcr.io/cadvisor/cadvisor
container_name: cadvisor
ports:
- 8081:8080
volumes:
- /:/rootfs:ro
- /var/run:/var/run:rw
- /sys:/sys:ro
# - /var/lib/docker/:/var/lib/docker:ro
networks:
- prometheus
- haproxy
- zbx
networks:
prometheus:
name: prometheus
external: true
haproxy:
name: haproxy
external: true
zbx:
name: zbx
external: true