From 978c64b816306daa55ed4b6f5fe90467d67e4fcb Mon Sep 17 00:00:00 2001 From: RamkumarP Date: Wed, 11 Jun 2025 06:58:36 +0000 Subject: [PATCH] Update compose.yaml --- compose.yaml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/compose.yaml b/compose.yaml index ceb2b32..bdb857c 100644 --- a/compose.yaml +++ b/compose.yaml @@ -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