forked from influxdata/influxdb-relay
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
59 lines (51 loc) · 1.01 KB
/
docker-compose.yaml
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
version: '2'
services:
grafana:
image: grafana/grafana:4.3.2
volumes:
- grafana:/etc/grafana
- lib_grafana:/var/lib/grafana
- log_grafana:/var/log/grafana
networks:
influxdb_dev:
ipv4_address: 172.20.1.10
influxdb1:
image: influxdb:1.3.1
volumes:
- db1:/var/lib/influxdb
networks:
influxdb_dev:
ipv4_address: 172.20.1.21
influxdb2:
image: influxdb:1.3.1
volumes:
- db2:/var/lib/influxdb
networks:
influxdb_dev:
ipv4_address: 172.20.1.22
relay:
image: influxdb-relay:dev
networks:
influxdb_dev:
ipv4_address: 172.20.1.30
networks:
influxdb_dev:
driver: bridge
driver_opts:
com.docker.network.enable_ipv6: "false"
ipam:
driver: default
config:
- subnet: 172.20.1.0/24
gateway: 172.20.1.1
volumes:
db1:
driver: local
db2:
driver: local
grafana:
driver: local
lib_grafana:
driver: local
log_grafana:
driver: local