difftreelog
updating docker-compose
in: master
3 files changed
docker-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:
tests/src/config.tsdiffbeforeafterboth6import process from 'process';6import process from 'process';778const 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}111112export default config;12export default config;tests/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