forked from virto-network/virto-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
devnet.yml
130 lines (123 loc) · 3.25 KB
/
devnet.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
version: "3.9"
services:
ui:
image: jacogr/polkadot-js-apps
environment:
# Connecting to the relay chain by default for quick parachain on-boarding
WS_URL: ws://${HOST}:59944
ports:
- 58080:80
virto_a:
image: ghcr.io/virto-network/virto:latest
container_name: devnet_virto_a
volumes:
- ./bin/relay-chain.json:/data/relay-chain.json
command:
- --alice
- --tmp
- --unsafe-ws-external
- --ws-port=59945
- --rpc-cors=all
# have a well known peerID for the second collator to connect easily
- --node-key=0000000000000000000000000000000000000000000000000000000000000001
- --port=50333
- --parachain-id=2086
# inner relay chain node params
- --
- --node-key=0000000000000000000000000000000000000000000000000000000000000002
- --port=50334
- --execution=wasm
- --chain=/data/relay-chain.json
- --ws-external
- --ws-port=59944
- --rpc-cors=all
ports:
- 50333:50333
- 50334:50334
- 59944:59944
- 59945:59945
networks:
- devnet
virto_b:
image: ghcr.io/virto-network/virto:latest
container_name: devnet_virto_b
volumes:
- ./bin/relay-chain.json:/data/relay-chain.json
command:
- --bob
- --tmp
- --parachain-id=2086
- --bootnodes=/dns/virto_a/tcp/50333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp
# relay chain node
- --
- --execution=wasm
- --chain=/data/relay-chain.json
networks:
- devnet
#
# Second parachain for cross-chain testing
#
karura_a:
image: docker.io/acala/karura-node:1.4.1
container_name: devnet_karura_a
volumes:
- ./bin/relay-chain.json:/acala/data/relay-chain.json
command:
- --chain=karura-dev
- --alice
- --tmp
- --unsafe-ws-external
- --ws-port=59946
- --rpc-cors=all
- --node-key=0000000000000000000000000000000000000000000000000000000000000003
- --port=50335
- --
- --execution=wasm
- --chain=/acala/data/relay-chain.json
ports:
- 59946:59946
- 50335:50335
networks:
- devnet
karura_b:
image: docker.io/acala/karura-node:1.4.1
container_name: devnet_karura_b
volumes:
- ./bin/relay-chain.json:/acala/data/relay-chain.json
command:
- --chain=karura-dev
- --bob
- --tmp
- --bootnodes=/dns/karura_a/tcp/50335/p2p/12D3KooWSCufgHzV4fCwRijfH2k3abrpAJxTKxEvN1FDuRXA2U9
- --
- --execution=wasm
- --chain=/acala/data/relay-chain.json
networks:
- devnet
#
# Relay chain validators
#
relay_a:
image: docker.io/parity/polkadot:v0.9.16
container_name: devnet_relay_a
command:
- --chain=${SPEC}
- --alice
- --no-telemetry
- --tmp
- --bootnodes=/dns/virto_a/tcp/50334/p2p/12D3KooWHdiAxVd8uMQR1hGWXccidmfCwLqcMpGwR6QcTP6QRMuD
networks:
- devnet
relay_b:
image: docker.io/parity/polkadot:v0.9.16
container_name: devnet_relay_b
command:
- --chain=${SPEC}
- --bob
- --no-telemetry
- --tmp
- --bootnodes=/dns/virto_a/tcp/50334/p2p/12D3KooWHdiAxVd8uMQR1hGWXccidmfCwLqcMpGwR6QcTP6QRMuD
networks:
- devnet
networks:
devnet: