-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
107 lines (100 loc) · 2.38 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
version: "3.8"
name: "examon"
networks:
examon_net:
driver: bridge
driver_opts:
com.docker.network.driver.mtu: 1450
services:
examon:
build:
context: .
image: examonhpc/examon:0.2.1
volumes:
- type: bind
source: ./lib/examon-common
target: /etc/examon_deploy/examon/lib/examon-common
- type: bind
source: ./web/examon-server
target: /etc/examon_deploy/examon/web/examon-server
- type: bind
source: ./publishers/examon_pub
target: /etc/examon_deploy/examon/publishers/examon_pub
logging:
driver: json-file
options:
max-size: "10m"
max-file: "1"
restart: always
ports:
- "1883:1883"
- "5000:5000"
networks:
- examon_net
environment:
- EX_KAIROSDB_HOST=kairosdb
depends_on:
- kairosdb
grafana:
build:
context: ./docker/grafana
image: examonhpc/grafana:7.3.10
logging:
driver: json-file
options:
max-size: "10m"
max-file: "1"
restart: always
ports:
- "3000:3000"
volumes:
- grafana_volume:/var/lib/grafana
networks:
- examon_net
environment:
- GF_SECURITY_ADMIN_PASSWORD=Password
- GF_INSTALL_PLUGINS=ae3e-plotly-panel 0.4.0,grafana-piechart-panel,yesoreyeram-infinity-datasource 0.8.8,marcusolsson-gantt-panel 0.7.5,flant-statusmap-panel 0.5.1,gapit-htmlgraphics-panel 1.3.3
depends_on:
- kairosdb
kairosdb:
build:
context: ./docker/kairosdb
image: examonhpc/kairosdb:1.2.2
logging:
driver: json-file
options:
max-size: "10m"
max-file: "1"
restart: always
ports:
- "8083:8083"
networks:
- examon_net
environment:
- CASSANDRA_HOST_LIST=cassandra:9042
depends_on:
- cassandra
cassandra:
build:
context: ./docker/cassandra
image: examonhpc/cassandra:3.0.19
logging:
driver: json-file
options:
max-size: "10m"
max-file: "1"
restart: always
ports:
- "9042:9042"
volumes:
- cassandra_volume:/var/lib/cassandra
networks:
- examon_net
environment:
- CASSANDRA_CLUSTER_NAME=examon
- CASSANDRA_BROADCAST_ADDRESS=cassandra
- CASSANDRA_START_RPC=true
- CASSANDRA_LISTEN_ADDRESS=auto
volumes:
cassandra_volume:
grafana_volume: