Browse Source

port

master
zeus 3 years ago
parent
commit
163c145e7e
  1. 2
      docker-compose.yml
  2. 2
      readmongo/swarmlab-app/src/run/app.js

2
docker-compose.yml

@ -5,7 +5,7 @@ services:
image: hub.swarmlab.io:5480/poc-datacollector-node:latest image: hub.swarmlab.io:5480/poc-datacollector-node:latest
container_name: webclient container_name: webclient
ports: ports:
- "8085:8080" - "7085:8080"
privileged: true privileged: true
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN

2
readmongo/swarmlab-app/src/run/app.js

@ -15,11 +15,13 @@ const whitelist = [
"http://localhost:3000", "http://localhost:3000",
"http://localhost:8080", "http://localhost:8080",
"http://localhost:8085", "http://localhost:8085",
"http://localhost:7085",
"http://localhost:3080", "http://localhost:3080",
"http://localhost:3081", "http://localhost:3081",
"http://localhost:3082", "http://localhost:3082",
"http://webclient.poc-datacollector_datacollector-net:8080", "http://webclient.poc-datacollector_datacollector-net:8080",
"http://webclient.poc-datacollector_datacollector-net:8085", "http://webclient.poc-datacollector_datacollector-net:8085",
"http://webclient.poc-datacollector_datacollector-net:7085",
]; ];
const io = require("socket.io")(http, { const io = require("socket.io")(http, {
// pingTimeout: 30000, // pingTimeout: 30000,

Loading…
Cancel
Save