-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
44 lines (40 loc) · 948 Bytes
/
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
version: "3"
services:
subzero-a:
image: playzero/subzero:local
user: "$UID:$GID"
ports:
- "30335:30333"
- "9945:9944"
volumes:
- ./data-a:/data
command: [
"/usr/local/bin/subzero",
"--name", "lab-${NAME}",
"--alice",
"--ws-external",
"--rpc-external",
"--rpc-cors", "all",
"--rpc-methods", "unsafe",
"--telemetry-url", "wss://telemetry.polkadot.io/submit/ 5"
]
subzero-b:
image: playzero/subzero:local
user: "$UID:$GID"
ports:
- "30336:30333"
- "9946:9944"
volumes:
- ./data-b/lab-bob:/data
command: [
"/usr/local/bin/subzero",
"--name", "lab-${NAME}",
"--bob",
"--ws-external",
"--rpc-external",
"--rpc-cors", "all",
"--rpc-methods", "unsafe",
"--telemetry-url", "wss://telemetry.polkadot.io/submit/ 5"
]
volumes:
data: