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

View File

@@ -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: