46 lines
910 B
YAML
46 lines
910 B
YAML
|
|
services:
|
|
api-server:
|
|
build:
|
|
context: ./
|
|
dockerfile: src/api-server/Dockerfile
|
|
container_name: DwinzoApi_V0_end
|
|
environment:
|
|
NODE_ENV: development
|
|
ports:
|
|
- "4999:4999"
|
|
expose:
|
|
- 4999
|
|
depends_on:
|
|
- mongo-external
|
|
networks:
|
|
- DwinzoMajor
|
|
|
|
socket-server:
|
|
build:
|
|
context: ./
|
|
dockerfile: src/socket-server/Dockerfile
|
|
container_name: DwinzoSocket_V0_end
|
|
environment:
|
|
NODE_ENV: development
|
|
ports:
|
|
- "7999:7999"
|
|
expose:
|
|
- 7999
|
|
depends_on:
|
|
- mongo-external
|
|
networks:
|
|
- DwinzoMajor
|
|
|
|
mongo-external:
|
|
image: mongo:latest
|
|
container_name: mongo-Dwinzocontainer # REFERENCE ONLY, this will not be recreated
|
|
restart: "no"
|
|
entrypoint: ["echo", "External Mongo container placeholder"]
|
|
networks:
|
|
- DwinzoMajor
|
|
|
|
networks:
|
|
DwinzoMajor:
|
|
external: true
|