-
Notifications
You must be signed in to change notification settings - Fork 149
/
docker-compose.yml
50 lines (43 loc) · 1.13 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
name: "influxdb-cluster"
services:
influxdb-meta-01:
image: chengshiwen/influxdb:1.8.11-c1.2.0-meta
container_name: influxdb-meta-01
hostname: influxdb-meta-01
restart: unless-stopped
networks:
- influxdb-cluster
influxdb-meta-02:
image: chengshiwen/influxdb:1.8.11-c1.2.0-meta
container_name: influxdb-meta-02
hostname: influxdb-meta-02
restart: unless-stopped
networks:
- influxdb-cluster
influxdb-meta-03:
image: chengshiwen/influxdb:1.8.11-c1.2.0-meta
container_name: influxdb-meta-03
hostname: influxdb-meta-03
restart: unless-stopped
networks:
- influxdb-cluster
influxdb-data-01:
image: chengshiwen/influxdb:1.8.11-c1.2.0-data
container_name: influxdb-data-01
hostname: influxdb-data-01
ports:
- 8186:8086
restart: unless-stopped
networks:
- influxdb-cluster
influxdb-data-02:
image: chengshiwen/influxdb:1.8.11-c1.2.0-data
container_name: influxdb-data-02
hostname: influxdb-data-02
ports:
- 8286:8086
restart: unless-stopped
networks:
- influxdb-cluster
networks:
influxdb-cluster: