Update compose.yaml

This commit is contained in:
2025-06-11 06:58:36 +00:00
parent c5afc9695c
commit 978c64b816

View File

@@ -7,6 +7,8 @@ services:
container_name: DwinzoApi_V0_end
environment:
NODE_ENV: development
MONGO_URI: mongodb://mongo-Dwinzocontainer:27017/dwinzodb
ports:
- "4999:4999" # Host port 5000 mapped to container's port 5000
expose:
@@ -32,16 +34,6 @@ services:
networks:
- DwinzoMajor # Socket server on the same network as the API server
mongo:
image: mongo:latest
container_name: mongo-Dwinzocontainer-demo
ports:
- "27021:27017"
volumes:
- mongo-data:/data/db
networks:
- DwinzoMajor # Mongo is now on the same network
volumes:
mongo-data: # Persistent volume for MongoDB data