From 163c145e7ec0572f7b2bce87830668898acc0ade Mon Sep 17 00:00:00 2001 From: zeus Date: Thu, 2 Dec 2021 00:15:34 +0200 Subject: [PATCH] port --- docker-compose.yml | 2 +- readmongo/swarmlab-app/src/run/app.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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,