diff --git a/compose.yaml b/compose.yaml index 980c52b..8687016 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,6 +1,6 @@ networks: DwinzoMajor: - external: true # Use the existing network from main backend + external: true # Reuse existing network created by main backend services: api-server: @@ -12,9 +12,7 @@ services: NODE_ENV: development MONGO_URL: "mongodb://mongo-Dwinzocontainer:27017/dwinzodb" ports: - - "5001:5000" # Changed port to avoid conflict with main backend - depends_on: - - mongo-Dwinzocontainer # Wait for MongoDB to be available + - "5001:5000" # Changed port to avoid conflict networks: - DwinzoMajor @@ -28,7 +26,5 @@ services: MONGO_URL: "mongodb://mongo-Dwinzocontainer:27017/dwinzodb" ports: - "8001:8000" # Changed port to avoid conflict - depends_on: - - mongo-Dwinzocontainer networks: - DwinzoMajor \ No newline at end of file