fix ports

This commit is contained in:
CHIEFSOFT\ameye
2024-12-18 02:45:55 -05:00
parent 653ef00ca6
commit d587359955
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -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
View File
@@ -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:
+1 -1
View File
@@ -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/',