-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
62 lines (56 loc) · 1.76 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
version: '3'
services:
node_alice:
image: lsaether/polkadot:fast-fixed
ports:
- "30335:30335"
- "9945:9945"
volumes:
- "polkadot-data-alice:/alice"
command: polkadot --chain=polkadot-local --telemetry-url ws://172.28.1.3:8000/submit --validator --unsafe-ws-external --unsafe-rpc-external --ws-port 9945 --rpc-cors all --pruning archive --alice --node-key aa788920201122290fc7d3faf00698d9a8e061d7173424da2a31a8130a882a5f
networks:
testing_net:
ipv4_address: 172.28.1.1
node_bob:
image: lsaether/polkadot:fast-fixed
ports:
- "30334:30334"
volumes:
- "polkadot-data-bob:/bob"
links:
- "node_alice:alice"
command: polkadot --chain=polkadot-local --telemetry-url ws://172.28.1.3:8000/submit --validator --pruning archive --bob --bootnodes /ip4/172.28.1.1/tcp/30335/p2p/QmT5MYjkTDpoREKZTS7qHLSKPCJubTwYqfr6YQmhfcFYro --port 30334
networks:
testing_net:
ipv4_address: 172.28.1.2
telemetry:
image: web3f/substrate-telemetry
ports:
- "8000:8000"
networks:
testing_net:
ipv4_address: 172.28.1.3
mongo:
image: mongo
restart: always
ports:
- "27017:27017"
networks:
testing_net:
ipv4_address: 172.28.1.5
1kv:
build: .
ports:
- "3300:3300"
networks:
testing_net:
ipv4_address: 172.28.1.4
volumes:
polkadot-data-alice:
polkadot-data-bob:
networks:
testing_net:
ipam:
driver: default
config:
- subnet: 172.28.0.0/16