-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfig.yml
executable file
·81 lines (74 loc) · 1.8 KB
/
fig.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
docktor:
build: docker-docktor
hostname: docktor
links:
- mongodb:db_1
ports:
- "3000:3000"
mongodb:
build: docker-mongodb
hostname: docktor-mongodb
volumes:
- /dataOnVagrant/data_docktor/mongodb/data:/data
- /dataOnVagrant/data_docktor/mongodb/opt/backups:/opt/backups
influxdb:
build: docker-influxdb
hostname: docktor-influxdb
ports:
- "8086:8086"
- "8083:8083"
volumes:
- /dataOnVagrant/data_docktor/influxdb/data:/data
grafana:
build: docker-grafana
hostname: docktor-grafana
environment:
INFLUXDB_PROTOCOL : http
INFLUXDB_HOST : 192.168.50.4
INFLUXDB_PORT : 8086
INFLUXDB_NAME : riemann
INFLUXDB_USER : root
INFLUXDB_PASS : root
HTTP_USER : admin
HTTP_PASS : admin
ports:
- "8090:80"
volumes:
- /dataOnVagrant/data_docktor/grafana/opt/app/app/dashboards:/opt/app/app/dashboards
riemann:
build: docker-riemann
hostname: docktor-riemann
environment:
RIEMANN_DASH_CONFIG_PORT: 4567
RIEMANN_DASH_WS_PORT: 5556
RIEMANN_HOST: 192.168.50.4
RIEMANN_INFLUXDB_HOST: 192.168.50.4
RIEMANN_INFLUXDB_PORT: 8086
RIEMANN_INFLUXDB_USERNAME: root
RIEMANN_INFLUXDB_PASSWORD: root
RIEMANN_INFLUXDB_DB: riemann
ports:
- "4567:4567"
- "5555:5555/tcp"
- "5555:5555/udp"
- "5556:5556"
volumes:
- /dataOnVagrant/data_docktor/riemann/opt/riemann/riemann/etc:/opt/riemann/riemann/etc
gorycadvisor:
build: docker-goryCadvisor
hostname: docktor-goryCadvisor
environment:
RIEMANN_ADDRESS: 192.168.50.4:5555
CADVISOR_ADDRESS: 192.168.50.4:8080
INTERVAL: 20s
RIEMANN_TTL_EVENT: 30
RIEMANN_HOST_EVENT: MY_HOST
cadvisor:
image: google/cadvisor:latest
volumes:
- /:/rootfs:ro
- /var/run:/var/run:rw
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
ports:
- "8080:8080"