From 3dd46c51be133a2d65a6ddc569d56ab6791b6688 Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 22 Nov 2021 01:34:29 +0200 Subject: [PATCH] edit compose --- docker-compose.yml | 2 ++ playground-client/.env | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index c592901..ec3c412 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,6 +13,7 @@ services: datacollector-net: volumes: - ./playground-client/src/:/home/node/playground-client/src/ + - ./playground-client/.env:/home/node/playground-client/.env redisserver: #image: hub.swarmlab.io:5480/playground-redisserver:latest #container_name: redisserver @@ -53,6 +54,7 @@ services: # - "3000:3000" volumes: - ./readmongo/swarmlab-app/src/run/:/home/node/readmongo/swarmlab-app/src/run/ + - ./readmongo/swarmlab-app/src/.env:/home/node/readmongo/swarmlab-app/src/.env networks: datacollector-net: dummy: diff --git a/playground-client/.env b/playground-client/.env index 02b28e7..746b3c1 100644 --- a/playground-client/.env +++ b/playground-client/.env @@ -1,4 +1,4 @@ NODE_ENV=development VUE_APP_BASE_SERVER_URL=http://readmongo.poc-datacollector_datacollector-net:3000/ -VUE_APP_BASE_SERVER=localhost:3000 +VUE_APP_BASE_SERVER=readmongo.poc-datacollector_datacollector-net:3000