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