Skip to content

Commit bd64bb0

Browse files
author
igorsyl
committed
fix docker-compose
1 parent 548f984 commit bd64bb0

File tree

1 file changed

+24
-32
lines changed

1 file changed

+24
-32
lines changed

docker-compose.localnet.yml

Lines changed: 24 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,18 @@ services:
2727
volumes:
2828
- subtensor-alice:/tmp/blockchain
2929
command:
30-
- /bin/bash
31-
- -c
32-
- |
33-
node-subtensor \
34-
--base-path /tmp/blockchain \
35-
--chain localnet.json \
36-
--rpc-external \
37-
--rpc-methods=unsafe \
38-
--alice \
39-
--port 30334 \
40-
--rpc-port 9944 \
41-
--validator \
42-
--rpc-cors=all \
43-
--allow-private-ipv4 \
44-
--discover-local \
45-
--unsafe-force-node-key-generation
30+
- --base-path=/tmp/blockchain
31+
- --chain=/localnet.json
32+
- --rpc-external
33+
- --rpc-methods=unsafe
34+
- --alice
35+
- --port=30334
36+
- --rpc-port=9944
37+
- --validator
38+
- --rpc-cors=all
39+
- --allow-private-ipv4
40+
- --discover-local
41+
- --unsafe-force-node-key-generation
4642

4743
bob:
4844
<<: *common
@@ -56,19 +52,15 @@ services:
5652
volumes:
5753
- subtensor-bob:/tmp/blockchain
5854
command:
59-
- /bin/bash
60-
- -c
61-
- |
62-
node-subtensor \
63-
--base-path /tmp/blockchain \
64-
--chain localnet.json \
65-
--bob \
66-
--rpc-methods=unsafe \
67-
--rpc-external \
68-
--port 30335 \
69-
--rpc-port 9945 \
70-
--validator \
71-
--rpc-cors=all \
72-
--allow-private-ipv4 \
73-
--discover-local \
74-
--unsafe-force-node-key-generation
55+
- --base-path=/tmp/blockchain
56+
- --chain=/localnet.json
57+
- --rpc-external
58+
- --rpc-methods=unsafe
59+
- --bob
60+
- --port=30335
61+
- --rpc-port=9945
62+
- --validator
63+
- --rpc-cors=all
64+
- --allow-private-ipv4
65+
- --discover-local
66+
- --unsafe-force-node-key-generation

0 commit comments

Comments
 (0)