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
--- a/docker-compose-tests.yml
+++ b/docker-compose-tests.yml
@@ -21,6 +21,8 @@
     build:
       context: ./
       dockerfile: Dockerfile-tests
+      volumes:
+      - ./tests/src/config_docker.ts:/nft_parachain/tests/src/config.ts
     networks:
       - node_test_network
     depends_on:
modifiedtests/src/config.tsdiffbeforeafterboth
6import process from 'process';6import process from 'process';
77
8const config = {8const config = {
9 substrateUrl: process.env.substrateUrl || 'ws://172.17.0.1:9944'9 substrateUrl: process.env.substrateUrl || 'ws://127.0.0.1:9944'
10}10}
1111
12export default config;12export default config;
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