Duplicate of Dashboard Data ENV changed
This commit is contained in:
4
.env
4
.env
@@ -4,8 +4,8 @@ MONGO_USER=admin
|
||||
MONGO_PASSWORD=admin321
|
||||
MONGO_AUTH_DB=admin
|
||||
|
||||
API_PORT=5000
|
||||
SOCKET_PORT=8000
|
||||
API_PORT=4999
|
||||
SOCKET_PORT=7999
|
||||
NODE_ENV=development
|
||||
FRONTEND_ORIGIN_PROD=http://185.100.212.76:8200
|
||||
|
||||
|
||||
16
compose.yaml
16
compose.yaml
@@ -4,13 +4,13 @@ services:
|
||||
build: # Assuming Dockerfile for API is in the root directory
|
||||
context: ./ # Root directory context
|
||||
dockerfile: src/api-server/Dockerfile
|
||||
container_name: DwinzoApi_end
|
||||
container_name: DwinzoApi_V0_end
|
||||
environment:
|
||||
NODE_ENV: development
|
||||
ports:
|
||||
- "5000:5000" # Host port 5000 mapped to container's port 5000
|
||||
- "4999:4999" # Host port 5000 mapped to container's port 5000
|
||||
expose:
|
||||
- 5000
|
||||
- 4999
|
||||
depends_on:
|
||||
- mongo
|
||||
networks:
|
||||
@@ -20,13 +20,13 @@ services:
|
||||
build: # Assuming Dockerfile for Socket server is in the root directory
|
||||
context: ./ # Root directory context
|
||||
dockerfile: src/socket-server/Dockerfile
|
||||
container_name: DwinzoSocket_end
|
||||
container_name: DwinzoSocket_V0_end
|
||||
environment:
|
||||
NODE_ENV: development
|
||||
ports:
|
||||
- "8000:8000" # Changed host port to avoid conflict with API server
|
||||
- "7999:7999" # Changed host port to avoid conflict with API server
|
||||
expose:
|
||||
- 8000
|
||||
- 7999
|
||||
depends_on:
|
||||
- mongo
|
||||
networks:
|
||||
@@ -34,9 +34,9 @@ services:
|
||||
|
||||
mongo:
|
||||
image: mongo:latest
|
||||
container_name: mongo-Dwinzocontainer
|
||||
container_name: mongo_V0-Dwinzocontainer
|
||||
ports:
|
||||
- "27021:27017"
|
||||
- "27022:27017"
|
||||
volumes:
|
||||
- mongo-data:/data/db
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user