diff --git a/.env b/.env index 740971d..5a63240 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ MONGO_URI=mongodb://127.0.0.1:27017/ # MONGO_URI=mongodb://mongo/ -API_PORT=3503 -SOCKET_PORT=1059 \ No newline at end of file +API_PORT=5000 +SOCKET_PORT=8000 \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..f03a8f5 --- /dev/null +++ b/.vscode/settings.json @@ -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 + } +} \ No newline at end of file diff --git a/compose.yaml b/compose.yaml index fb6ca2c..481b4a1 100644 --- a/compose.yaml +++ b/compose.yaml @@ -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: