forked from Tribler/bami
-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
61 lines (61 loc) · 1.12 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
networks:
vpcbr:
driver: bridge
ipam:
config:
- gateway: 192.168.55.1
subnet: 192.168.55.0/24
driver: default
services:
node0:
build: .
environment:
ALGORITHM: election
EMPTY: null
PID: 0
TOPOLOGY: topologies/election.yaml
networks:
vpcbr:
ipv4_address: 192.168.55.10
ports:
- 9090:9090
node1:
build: .
environment:
ALGORITHM: election
EMPTY: null
PID: 1
TOPOLOGY: topologies/election.yaml
networks:
vpcbr:
ipv4_address: 192.168.55.11
ports:
- 9091:9091
node2:
build: .
environment:
ALGORITHM: election
EMPTY: null
PID: 2
TOPOLOGY: topologies/election.yaml
networks:
vpcbr:
ipv4_address: 192.168.55.12
ports:
- 9092:9092
node3:
build: .
environment:
ALGORITHM: election
EMPTY: null
PID: 3
TOPOLOGY: topologies/election.yaml
networks:
vpcbr:
ipv4_address: 192.168.55.13
ports:
- 9093:9093
version: '3.7'
x-common-variables:
EMPTY: null
TOPOLOGY: topologies/election.yaml