fix ports
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
WRENCHJOB_PORT=3040
|
MERMS_SOCKET_PORT=5005
|
||||||
WRENCHJOB_POSTGRE_URL='postgresql://wrenchboard:wrenchboard@10.20.30.60:5432/wrenchboard'
|
WRENCHJOB_POSTGRE_URL='postgresql://merms_panel:merms_panel@10.20.30.60:5432/merms_panel'
|
||||||
|
|||||||
+2
-2
@@ -12,7 +12,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 3040:3040
|
- 3040:3040
|
||||||
environment:
|
environment:
|
||||||
- PORT=${WRENCHJOB_PORT}
|
- PORT=${MERMS_SOCKET_PORT}
|
||||||
- POSTGRE_URL=${WRENCHJOB_POSTGRE_URL}
|
- POSTGRE_URL=${MERMS_POSTGRE_URL}
|
||||||
volumes:
|
volumes:
|
||||||
src:
|
src:
|
||||||
@@ -19,7 +19,7 @@ console.log("ENTER THE SOCKET");
|
|||||||
const io = new Server(server, {
|
const io = new Server(server, {
|
||||||
cors: {
|
cors: {
|
||||||
origin: ['http://localhost:3000',
|
origin: ['http://localhost:3000',
|
||||||
'http://localhost:3040',
|
'http://localhost:5001',
|
||||||
'http://10.0.0.248:3000',
|
'http://10.0.0.248:3000',
|
||||||
'https://10.0.0.248:3000',
|
'https://10.0.0.248:3000',
|
||||||
'http://localhost:9082/',
|
'http://localhost:9082/',
|
||||||
|
|||||||
Reference in New Issue
Block a user