forked from KILTprotocol/local-parachain-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
178 lines (173 loc) · 5.35 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
version: "3"
services:
relay-node-alice:
image: ${POLKADOT_IMG}
command:
[
"--port=30333",
"--no-mdns",
"--chain=/data/spec/${POLKADOT_RAW_SPEC_FILE}",
"--ws-port=9944",
"--ws-external",
"--rpc-external",
"--unsafe-rpc-external",
"--rpc-methods=unsafe",
"--rpc-cors=all",
"--validator",
"--alice",
"--node-key-file=/data/spec/relay/alice.key",
"--bootnodes",
"/dns4/relay-node-alice/tcp/30333/p2p/12D3KooWPU8zhfbYjr6mGuDdrrkQMFfDm2edXFYkkkmyCBont8K5",
"/dns4/relay-node-bob/tcp/30334/p2p/12D3KooWGFFpuUgFSFwNVLeVhNJ6m25jgv15pK8xcbdqaAj9gfnc",
"/dns4/relay-node-charlie/tcp/30335/p2p/12D3KooWPaFM8dPrm5GodDmggNPNLrKLUzDnLYuEStVZ7sesjrrW",
]
volumes:
- ./specs:/data/spec/
- /data
ports:
- 9944:9944
# - 30333:30333
expose:
- 30333
relay-node-bob:
image: ${POLKADOT_IMG}
command:
[
"--port=30334",
"--no-mdns",
"--chain=/data/spec/${POLKADOT_RAW_SPEC_FILE}",
"--ws-port=9945",
"--ws-external",
"--rpc-external",
"--rpc-cors=all",
"--unsafe-rpc-external",
"--rpc-methods=unsafe",
"--validator",
"--node-key-file=/data/spec/relay/bob.key",
"--bob",
"--bootnodes",
"/dns4/relay-node-alice/tcp/30333/p2p/12D3KooWPU8zhfbYjr6mGuDdrrkQMFfDm2edXFYkkkmyCBont8K5",
"/dns4/relay-node-bob/tcp/30334/p2p/12D3KooWGFFpuUgFSFwNVLeVhNJ6m25jgv15pK8xcbdqaAj9gfnc",
"/dns4/relay-node-charlie/tcp/30335/p2p/12D3KooWPaFM8dPrm5GodDmggNPNLrKLUzDnLYuEStVZ7sesjrrW",
]
volumes:
- ./specs:/data/spec/
- /data
ports:
- 9945:9945
# - 30334:30334
expose:
- 30334
relay-node-charlie:
image: ${POLKADOT_IMG}
command:
[
"--port=30335",
"--no-mdns",
"--chain=/data/spec/${POLKADOT_RAW_SPEC_FILE}",
"--ws-port=9946",
"--ws-external",
"--rpc-external",
"--rpc-cors=all",
"--unsafe-rpc-external",
"--rpc-methods=unsafe",
"--validator",
"--node-key-file=/data/spec/relay/charlie.key",
"--charlie",
"--bootnodes",
"/dns4/relay-node-alice/tcp/30333/p2p/12D3KooWPU8zhfbYjr6mGuDdrrkQMFfDm2edXFYkkkmyCBont8K5",
"/dns4/relay-node-bob/tcp/30334/p2p/12D3KooWGFFpuUgFSFwNVLeVhNJ6m25jgv15pK8xcbdqaAj9gfnc",
"/dns4/relay-node-charlie/tcp/30335/p2p/12D3KooWPaFM8dPrm5GodDmggNPNLrKLUzDnLYuEStVZ7sesjrrW",
]
volumes:
- ./specs:/data/spec/
- /data
ports:
- 9946:9946
# - 30335:30335
expose:
- 30335
kilt-collator-alice:
image: ${KILT_IMG}
volumes:
- ./specs:/data/spec/
- /data
command:
[
"--no-mdns",
"--port=40333",
"--ws-port=9947",
"--ws-external",
"--rpc-external",
"--rpc-cors=all",
"--unsafe-rpc-external",
"--rpc-methods=unsafe",
"--chain=${KILT_RAW_SPEC_FILE}",
"--runtime=${KILT_RUNTIME}",
"--collator",
"--alice",
"--node-key-file=/data/spec/para-kilt/alice.key",
"--bootnodes",
"/dns4/kilt-collator-alice/tcp/40333/p2p/12D3KooWPn1AKtsLYy6EYtXBgb6fQNw4MkLeBsyvPRV5DxAhvQ8M",
"/dns4/kilt-collator-bob/tcp/40334/p2p/12D3KooWMW6NQPgzHkroN6mtnGjfETVPw2G1NqkV5YW7VfzLxHCX",
"--",
"--port=30333",
"--chain=/data/spec/${POLKADOT_RAW_SPEC_FILE}",
"--execution=wasm",
"--bootnodes",
"/dns4/relay-node-alice/tcp/30333/p2p/12D3KooWPU8zhfbYjr6mGuDdrrkQMFfDm2edXFYkkkmyCBont8K5",
"/dns4/relay-node-bob/tcp/30334/p2p/12D3KooWGFFpuUgFSFwNVLeVhNJ6m25jgv15pK8xcbdqaAj9gfnc",
"/dns4/relay-node-charlie/tcp/30335/p2p/12D3KooWPaFM8dPrm5GodDmggNPNLrKLUzDnLYuEStVZ7sesjrrW",
]
ports:
- 9947:9947
# - 40333:40333
expose:
- 40333
- 30333
depends_on:
- relay-node-alice
- relay-node-bob
- relay-node-charlie
kilt-collator-bob:
image: ${KILT_IMG}
volumes:
- ./specs:/data/spec/
- /data
command:
[
"--no-mdns",
"--port=40334",
"--ws-port=9947",
"--ws-external",
"--rpc-external",
"--rpc-cors=all",
"--unsafe-rpc-external",
"--rpc-methods=unsafe",
"--chain=${KILT_RAW_SPEC_FILE}",
"--runtime=${KILT_RUNTIME}",
"--collator",
"--bob",
"--node-key-file=/data/spec/para-kilt/bob.key",
"--bootnodes",
"/dns4/kilt-collator-alice/tcp/40333/p2p/12D3KooWPn1AKtsLYy6EYtXBgb6fQNw4MkLeBsyvPRV5DxAhvQ8M",
"/dns4/kilt-collator-bob/tcp/40334/p2p/12D3KooWMW6NQPgzHkroN6mtnGjfETVPw2G1NqkV5YW7VfzLxHCX",
"--",
"--port=30333",
"--chain=/data/spec/${POLKADOT_RAW_SPEC_FILE}",
"--execution=wasm",
"--bootnodes",
"/dns4/relay-node-alice/tcp/30333/p2p/12D3KooWPU8zhfbYjr6mGuDdrrkQMFfDm2edXFYkkkmyCBont8K5",
"/dns4/relay-node-bob/tcp/30334/p2p/12D3KooWGFFpuUgFSFwNVLeVhNJ6m25jgv15pK8xcbdqaAj9gfnc",
"/dns4/relay-node-charlie/tcp/30335/p2p/12D3KooWPaFM8dPrm5GodDmggNPNLrKLUzDnLYuEStVZ7sesjrrW",
]
ports:
- 9948:9948
# - 40334:40334
expose:
- 40334
- 30333
depends_on:
- relay-node-alice
- relay-node-bob
- relay-node-charlie