-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yml
60 lines (56 loc) · 1.15 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
version: '3'
services:
faythe1:
build: .
ports:
- 8600:8600
volumes:
- ./examples/faythe.yml:/etc/faythe/config.yml
restart: always
depends_on:
- etcd
command:
- --config.file=/etc/faythe/config.yml
- --cluster-id=averycomplexclusterid
- --log.level=debug
faythe2:
build: .
ports:
- 8601:8600
volumes:
- ./examples/faythe.yml:/etc/faythe/config.yml
restart: always
depends_on:
- faythe1
- etcd
command:
- --config.file=/etc/faythe/config.yml
- --cluster-id=averycomplexclusterid
- --log.level=debug
faythe3:
build: .
ports:
- 8602:8600
volumes:
- ./examples/faythe.yml:/etc/faythe/config.yml
restart: always
depends_on:
- faythe1
- faythe2
- etcd
command:
- --config.file=/etc/faythe/config.yml
- --cluster-id=averycomplexclusterid
- --log.level=debug
etcd:
image: bitnami/etcd:3
environment:
- ALLOW_NONE_AUTHENTICATION=yes
ports:
- 2379:2379
- 2380:2380
volumes:
- etcd_data:/bitnami/etcd
volumes:
etcd_data:
driver: local