-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose-testnet.yml
72 lines (68 loc) · 1.47 KB
/
docker-compose-testnet.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
version: "3.5"
services:
node_einstein:
image: nft-parachain
ports:
- 9935:9935
build:
context: ./
dockerfile: Dockerfile-testnet
volumes:
- ./chain-data-einstein:/chain-data
networks:
- substrate_network
restart: always
environment:
- NODE=einstein
- P2PPORT=30335
- WSPORT=9945
- RPCPORT=9935
- BOOTNODE=True
- VALIDATOR=True
node_newton:
image: nft-parachain
ports:
- 9936:9936
build:
context: ./
dockerfile: Dockerfile-testnet
volumes:
- ./chain-data-newton:/chain-data
networks:
- substrate_network
restart: always
environment:
- NODE=newton
- P2PPORT=30336
- WSPORT=9946
- RPCPORT=9936
- BOOTNODE=False
- BOOTPORT=30335
- BOOTID=12D3KooWRLrjXxByPkSCzcsRyf6652brnJT9s4AQHR3uujJ35mxz
- VALIDATOR=True
node_bohr:
image: nft-parachain
ports:
- 9944:9944
- 30334:30334
build:
context: ./
dockerfile: Dockerfile-testnet
volumes:
- ./chain-data-bohr:/chain-data
networks:
- substrate_network
restart: always
environment:
- NODE=bohr
- P2PPORT=30334
- WSPORT=9944
- RPCPORT=9934
- BOOTNODE=False
- BOOTPORT=30335
- BOOTID=12D3KooWRLrjXxByPkSCzcsRyf6652brnJT9s4AQHR3uujJ35mxz
- VALIDATOR=False
networks:
substrate_network:
driver: bridge
name: substrate_network