Browse Source

edit compose

master
zeus 3 years ago
parent
commit
3dd46c51be
  1. 2
      docker-compose.yml
  2. 2
      playground-client/.env

2
docker-compose.yml

@ -13,6 +13,7 @@ services:
datacollector-net: datacollector-net:
volumes: volumes:
- ./playground-client/src/:/home/node/playground-client/src/ - ./playground-client/src/:/home/node/playground-client/src/
- ./playground-client/.env:/home/node/playground-client/.env
redisserver: redisserver:
#image: hub.swarmlab.io:5480/playground-redisserver:latest #image: hub.swarmlab.io:5480/playground-redisserver:latest
#container_name: redisserver #container_name: redisserver
@ -53,6 +54,7 @@ services:
# - "3000:3000" # - "3000:3000"
volumes: volumes:
- ./readmongo/swarmlab-app/src/run/:/home/node/readmongo/swarmlab-app/src/run/ - ./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: networks:
datacollector-net: datacollector-net:
dummy: dummy:

2
playground-client/.env

@ -1,4 +1,4 @@
NODE_ENV=development NODE_ENV=development
VUE_APP_BASE_SERVER_URL=http://readmongo.poc-datacollector_datacollector-net:3000/ 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

Loading…
Cancel
Save