Files
Dwinzo-Backend-V0.0/compose.yaml

30 lines
768 B
YAML
Raw Normal View History

2025-06-11 09:59:17 +00:00
networks:
DwinzoMajor:
2025-06-11 10:04:25 +00:00
external: true # Must already exist from main backend
2025-06-11 09:59:17 +00:00
2025-06-11 06:26:43 +00:00
services:
api-server:
2025-06-11 07:30:26 +00:00
build:
2025-06-11 08:00:19 +00:00
context: ./
dockerfile: src/api-server/Dockerfile
2025-06-11 06:26:43 +00:00
container_name: DwinzoApi_V0_end
environment:
NODE_ENV: development
2025-06-11 09:59:17 +00:00
MONGO_URL: "mongodb://mongo-Dwinzocontainer:27017/dwinzodb"
2025-06-11 06:26:43 +00:00
ports:
2025-06-11 10:04:25 +00:00
- "5001:5000" # Avoid port conflict with main backend
2025-06-11 06:26:43 +00:00
networks:
2025-06-11 08:00:19 +00:00
- DwinzoMajor
2025-06-11 06:26:43 +00:00
socket-server:
2025-06-11 07:30:26 +00:00
build:
2025-06-11 08:00:19 +00:00
context: ./
dockerfile: src/socket-server/Dockerfile
2025-06-11 06:26:43 +00:00
container_name: DwinzoSocket_V0_end
environment:
NODE_ENV: development
2025-06-11 09:59:17 +00:00
MONGO_URL: "mongodb://mongo-Dwinzocontainer:27017/dwinzodb"
2025-06-11 06:26:43 +00:00
ports:
2025-06-11 10:04:25 +00:00
- "8001:8000" # Avoid port conflict
2025-06-11 06:26:43 +00:00
networks:
2025-06-11 09:59:17 +00:00
- DwinzoMajor