-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
70 lines (64 loc) · 1.18 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
version: '3.7'
services:
node0:
build: .
ports:
- "20110:20110"
- "20120:20120"
- "20130:20130"
- "20140:20140"
- "20150:20150"
- "8010:8010"
volumes:
- aeron-fs0:/app/target/aeron/cluster
environment:
- NUMBER=0
networks:
app_net:
ipv4_address: 10.5.0.31
shm_size: '1gb'
node1:
build: .
ports:
- "20111:20111"
- "20121:20121"
- "20131:20131"
- "20141:20141"
- "20151:20151"
- "8011:8011"
volumes:
- aeron-fs1:/app/target/aeron/cluster
environment:
- NUMBER=1
networks:
app_net:
ipv4_address: 10.5.0.41
shm_size: '1gb'
node2:
build: .
ports:
- "20112:20112"
- "20122:20122"
- "20132:20132"
- "20142:20142"
- "20152:20152"
- "8012:8012"
volumes:
- aeron-fs2:/app/target/aeron/cluster
environment:
- NUMBER=2
networks:
app_net:
ipv4_address: 10.5.0.51
shm_size: '1gb'
networks:
app_net:
ipam:
driver: default
config:
- subnet: 10.5.0.0/24
# gateway: 10.5.0.1
volumes:
aeron-fs0:
aeron-fs1:
aeron-fs2: