git.delta.rocks / unique-network / refs/commits / 22b9858f6202

difftreelog

updating docker-compose

akaryaginUSETECH2021-03-14parent: #67e03be.patch.diff
in: master

3 files changed

modifieddocker-compose-tests.ymldiffbeforeafterboth
21 build:21 build:
22 context: ./22 context: ./
23 dockerfile: Dockerfile-tests23 dockerfile: Dockerfile-tests
24 volumes:
25 - ./tests/src/config_docker.ts:/nft_parachain/tests/src/config.ts
24 networks:26 networks:
25 - node_test_network27 - node_test_network
26 depends_on:28 depends_on:
modifiedtests/src/config.tsdiffbeforeafterboth
--- a/tests/src/config.ts
+++ b/tests/src/config.ts
@@ -6,7 +6,7 @@
 import process from 'process';
 
 const config = {
-  substrateUrl: process.env.substrateUrl || 'ws://172.17.0.1:9944'
+  substrateUrl: process.env.substrateUrl || 'ws://127.0.0.1:9944'
 }
 
 export default config;
\ No newline at end of file
addedtests/src/config_docker.tsdiffbeforeafterboth
--- /dev/null
+++ b/tests/src/config_docker.ts
@@ -0,0 +1,12 @@
+//
+// This file is subject to the terms and conditions defined in
+// file 'LICENSE', which is part of this source code package.
+//
+
+import process from 'process';
+
+const config = {
+  substrateUrl: process.env.substrateUrl || 'ws://172.17.0.1:9944'
+}
+
+export default config;
\ No newline at end of file