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.ymldiffbeforeafterboth1version: "3.5"23services:4 node_validator1:5 image: nft_node_test6 container_name: validator1_test7 ports:8 - 9944:99449 - 9844:984410 build:11 context: ./12 dockerfile: Dockerfile-parachain13 volumes:14# - ./chain-data:/chain-data15 - ./launch-config.json:/polkadot-launch/launch-config.json16 - ./runtime_types.json:/polkadot-launch/runtime_types.json17 networks:18 - node_test_network19 #command: bash -c "yarn --cwd polkadot-launch start"20 #command: bash -c 'while true; do sleep 60; df -h; done'2122 integration_tests:23 container_name: integration_test24 image: int_test25 build:26 context: ./27 dockerfile: Dockerfile-tests28 volumes:29 - ./tests/src/config_docker.ts:/nft_parachain/tests/src/config.ts30 - /home/polkadot/mochawesome-report:/nft_parachain/tests/mochawesome-report31 # command: bash -c 'while true; do sleep 20; df -h; done'32 networks:33 - node_test_network34 depends_on:35 - node_validator13637# unit_tests:38# container_name: unit_test39# image: nft_unit_test40# build:41# context: ./42# dockerfile: Dockerfile-unit43# container_name: unit_test44# networks:45# - node_test_network46 # command: bash -c 'while true; do sleep 20; df -h; done'47# command: bash -c 'cargo test'4849networks:50 node_test_network:51 name: node_test_network52 driver: bridgelaunch-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
+}