Duplicate of Dashboard Data ENV changed

This commit is contained in:
2025-06-10 18:29:43 +05:30
parent 9eed968b03
commit c3d7e0f20b
2 changed files with 10 additions and 10 deletions

4
.env
View File

@@ -4,8 +4,8 @@ MONGO_USER=admin
MONGO_PASSWORD=admin321 MONGO_PASSWORD=admin321
MONGO_AUTH_DB=admin MONGO_AUTH_DB=admin
API_PORT=5000 API_PORT=4999
SOCKET_PORT=8000 SOCKET_PORT=7999
NODE_ENV=development NODE_ENV=development
FRONTEND_ORIGIN_PROD=http://185.100.212.76:8200 FRONTEND_ORIGIN_PROD=http://185.100.212.76:8200

View File

@@ -4,13 +4,13 @@ services:
build: # Assuming Dockerfile for API is in the root directory build: # Assuming Dockerfile for API is in the root directory
context: ./ # Root directory context context: ./ # Root directory context
dockerfile: src/api-server/Dockerfile dockerfile: src/api-server/Dockerfile
container_name: DwinzoApi_end container_name: DwinzoApi_V0_end
environment: environment:
NODE_ENV: development NODE_ENV: development
ports: ports:
- "5000:5000" # Host port 5000 mapped to container's port 5000 - "4999:4999" # Host port 5000 mapped to container's port 5000
expose: expose:
- 5000 - 4999
depends_on: depends_on:
- mongo - mongo
networks: networks:
@@ -20,13 +20,13 @@ services:
build: # Assuming Dockerfile for Socket server is in the root directory build: # Assuming Dockerfile for Socket server is in the root directory
context: ./ # Root directory context context: ./ # Root directory context
dockerfile: src/socket-server/Dockerfile dockerfile: src/socket-server/Dockerfile
container_name: DwinzoSocket_end container_name: DwinzoSocket_V0_end
environment: environment:
NODE_ENV: development NODE_ENV: development
ports: ports:
- "8000:8000" # Changed host port to avoid conflict with API server - "7999:7999" # Changed host port to avoid conflict with API server
expose: expose:
- 8000 - 7999
depends_on: depends_on:
- mongo - mongo
networks: networks:
@@ -34,9 +34,9 @@ services:
mongo: mongo:
image: mongo:latest image: mongo:latest
container_name: mongo-Dwinzocontainer container_name: mongo_V0-Dwinzocontainer
ports: ports:
- "27021:27017" - "27022:27017"
volumes: volumes:
- mongo-data:/data/db - mongo-data:/data/db
networks: networks: