difftreelog
added rpc external flags
in: master
3 files changed
Dockerfile-testsdiffbeforeafterboth--- a/Dockerfile-tests
+++ b/Dockerfile-tests
@@ -23,7 +23,7 @@
npm install --save @polkadot/api && \
npm install --save-dev mochawesome
-RUN sleep 60
+CMD sleep 60
CMD export NVM_DIR="$HOME/.nvm" && \
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \
docker-compose-tests-parachain.ymldiffbeforeafterboth7 ports:7 ports:8 - 9944:99448 - 9944:99449 - 9844:98449 - 9844:984410 - 9933:993310 build:11 build:11 context: ./12 context: ./12 dockerfile: Dockerfile-parachain13 dockerfile: Dockerfile-parachain28 volumes:29 volumes:29 - ./tests/src/config_docker.ts:/nft_parachain/tests/src/config.ts30 - ./tests/src/config_docker.ts:/nft_parachain/tests/src/config.ts30 - /home/polkadot/mochawesome-report:/nft_parachain/tests/mochawesome-report31 - /home/polkadot/mochawesome-report:/nft_parachain/tests/mochawesome-report31 # command: bash -c 'while true; do sleep 20; df -h; done'32 command: bash -c 'while true; do sleep 20; df -h; done'32 networks:33 networks:33 - node_test_network34 - node_test_network34 depends_on:35 depends_on:launch-config.jsondiffbeforeafterboth--- a/launch-config.json
+++ b/launch-config.json
@@ -66,7 +66,9 @@
"name": "alice",
"flags": [
"--rpc-cors=all",
- "--rpc-port=9933"
+ "--rpc-port=9933",
+ "--ws-external",
+ "--rpc-external"
]
},
{
@@ -76,7 +78,9 @@
"name": "bob",
"flags": [
"--rpc-cors=all",
- "--rpc-port=9934"
+ "--rpc-port=9934",
+ "--ws-external",
+ "--rpc-external"
]
}
]
@@ -86,4 +90,4 @@
"hrmpChannels": [],
"types": "./runtime_types.json",
"finalization": false
-}
\ No newline at end of file
+}