-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose-multi.yml
57 lines (57 loc) · 1.85 KB
/
compose-multi.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
services:
node0:
image: goloop/gochain-icon:latest
volumes:
- ./data/multi:/goloop/data
- ./data/governance:/goloop/data/gov
- ./chain:/goloop/chain
env_file:
- ./data/multi/common.env
environment:
GOCHAIN_CONFIG: "/goloop/data/config0.json"
GOCHAIN_DATA: "/goloop/chain/node0"
GOCHAIN_LOGFILE: "/goloop/chain/node0.log"
ports:
- "9080:9080"
node1:
image: goloop/gochain-icon:latest
volumes:
- ./data/multi:/goloop/data
- ./data/governance:/goloop/data/gov
- ./chain:/goloop/chain
env_file:
- ./data/multi/common.env
environment:
GOCHAIN_CONFIG: "/goloop/data/config1.json"
GOCHAIN_DATA: "/goloop/chain/node1"
GOCHAIN_LOGFILE: "/goloop/chain/node1.log"
ports:
- "9081:9080"
node2:
image: goloop/gochain-icon:latest
volumes:
- ./data/multi:/goloop/data
- ./data/governance:/goloop/data/gov
- ./chain:/goloop/chain
env_file:
- ./data/multi/common.env
environment:
GOCHAIN_CONFIG: "/goloop/data/config2.json"
GOCHAIN_DATA: "/goloop/chain/node2"
GOCHAIN_LOGFILE: "/goloop/chain/node2.log"
ports:
- "9082:9080"
node3:
image: goloop/gochain-icon:latest
volumes:
- ./data/multi:/goloop/data
- ./data/governance:/goloop/data/gov
- ./chain:/goloop/chain
env_file:
- ./data/multi/common.env
environment:
GOCHAIN_CONFIG: "/goloop/data/config3.json"
GOCHAIN_DATA: "/goloop/chain/node3"
GOCHAIN_LOGFILE: "/goloop/chain/node3.log"
ports:
- "9083:9080"