diff --git a/docker-compose.yml b/docker-compose.yml index afc6faa..2763da6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: image: hub.swarmlab.io:5480/poc-datacollector-node:latest container_name: webclient ports: - - "8085:8080" + - "7085:8080" privileged: true cap_add: - NET_ADMIN diff --git a/readmongo/swarmlab-app/src/run/app.js b/readmongo/swarmlab-app/src/run/app.js index 2d9f83d..ce6af6f 100644 --- a/readmongo/swarmlab-app/src/run/app.js +++ b/readmongo/swarmlab-app/src/run/app.js @@ -15,11 +15,13 @@ const whitelist = [ "http://localhost:3000", "http://localhost:8080", "http://localhost:8085", + "http://localhost:7085", "http://localhost:3080", "http://localhost:3081", "http://localhost:3082", "http://webclient.poc-datacollector_datacollector-net:8080", "http://webclient.poc-datacollector_datacollector-net:8085", + "http://webclient.poc-datacollector_datacollector-net:7085", ]; const io = require("socket.io")(http, { // pingTimeout: 30000,