This commit is contained in:
2025-01-24 11:50:50 +05:30
parent a28398259c
commit 50e8d906f3
3 changed files with 21 additions and 7 deletions

4
.env
View File

@@ -1,4 +1,4 @@
MONGO_URI=mongodb://127.0.0.1:27017/
# MONGO_URI=mongodb://mongo/
API_PORT=3503
SOCKET_PORT=1059
API_PORT=5000
SOCKET_PORT=8000

14
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,14 @@
{
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/.retool_types/**": true,
"**/*tsconfig.json": true,
".cache": true,
"retool.config.json": true
}
}

View File

@@ -8,9 +8,9 @@ services:
environment:
NODE_ENV: development
ports:
- "50013:3503" # Host port 50013 mapped to container's port 3503
- "5000:5000" # Host port 5000 mapped to container's port 5000
expose:
- 3503
- 5000
depends_on:
- mongo
networks:
@@ -24,9 +24,9 @@ services:
environment:
NODE_ENV: development
ports:
- "50014:1059" # Changed host port to avoid conflict with API server
- "8000:8000" # Changed host port to avoid conflict with API server
expose:
- 1059
- 8000
depends_on:
- mongo
networks:
@@ -36,7 +36,7 @@ services:
image: mongo:latest
container_name: mongo-Dwinzocontainer
ports:
- "3502:27017"
- "27017:27017"
volumes:
- mongo-data:/data/db
networks: