-
Notifications
You must be signed in to change notification settings - Fork 39
/
docker-compose.yml
102 lines (79 loc) · 2.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
version: "3.9"
services:
setup:
build:
context: .
target: localnet-setup
restart: "no"
environment:
NUM_VALIDATORS: 3
CHAINID: localnet
# Address bellow generated from mnemonic of node0 using account=0 index=1 in HD path
MUNICIPAL_INFL_TARGET_ADDRESS: fetch12w7ud5hv93zu82as4d64tn00pc596ue2fs74tj
volumes:
- "setup-data:/setup"
# networks:
# localnet:
# ipv4_address: 192.168.10.1
node0:
build:
context: .
target: localnet
restart: always
environment:
MONIKER: node0
CHAINID: localnet
MNEMONIC: "boat leave enrich glare into second this model appear owner strong tail perfect fringe best still soup clap betray rigid bleak return minimum goddess"
PASSPHRASE: change-me-please
volumes:
- "setup-data:/setup"
- "node0-data:/root/.fetchd"
# networks:
# localnet:
# ipv4_address: 192.168.10.2
node1:
build:
context: .
target: localnet
restart: always
environment:
MONIKER: node1
CHAINID: localnet
MNEMONIC: "question ski cancel busy census brush slush scissors ridge usual size fetch tortoise drum relax unlock chapter chapter electric surge arm priority vibrant blue"
PASSPHRASE: change-me-please
volumes:
- "setup-data:/setup"
- "node1-data:/root/.fetchd"
# networks:
# localnet:
# ipv4_address: 192.168.10.3
node2:
build:
context: .
target: localnet
restart: always
environment:
MONIKER: node2
CHAINID: localnet
MNEMONIC: "advance fatigue arm sentence champion tube half smoke beyond creek toddler blur measure ozone donkey live start address loan advance possible rough famous heavy"
PASSPHRASE: change-me-please
links:
- "node0"
volumes:
- "setup-data:/setup"
- "node2-data:/root/.fetchd"
# networks:
# localnet:
# ipv4_address: 192.168.10.4
volumes:
setup-data:
node0-data:
node1-data:
node2-data:
# networks:
# localnet:
# driver: bridge
# ipam:
# driver: default
# config:
# - subnet: 192.168.10.0/16