Files
Dwinzo-Backend-V0.0/compose.yaml
2025-06-11 08:00:49 +00:00

47 lines
939 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
services:
api-server:
build:
context: ./
dockerfile: src/api-server/Dockerfile
container_name: DwinzoApi_V0_end
environment:
NODE_ENV: development
MONGO_URI: mongodb://mongo-Dwinzocontainer:27017
ports:
- "4999:4999"
expose:
- 4999
depends_on:
- net-ready
networks:
- DwinzoMajor
socket-server:
build:
context: ./
dockerfile: src/socket-server/Dockerfile
container_name: DwinzoSocket_V0_end
environment:
NODE_ENV: development
MONGO_URI: mongodb://mongo-Dwinzocontainer:27017
ports:
- "7999:7999"
expose:
- 7999
depends_on:
- net-ready
networks:
- DwinzoMajor
# Dummy container to ensure network availability
net-ready:
image: busybox
command: sleep 1
networks:
- DwinzoMajor
networks:
DwinzoMajor:
external: true # Use the backends Docker network