46 lines
850 B
YAML
46 lines
850 B
YAML
|
|
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
|
|
|
|
net-ready:
|
|
image: busybox
|
|
command: sleep 1
|
|
networks:
|
|
- DwinzoMajor
|
|
|
|
networks:
|
|
DwinzoMajor:
|
|
external: true
|