todo/src/docker-compose.prod.yml

29 lines
410 B
YAML
Raw Normal View History

2021-11-14 18:56:17 +01:00
version: "3"
services:
db:
build:
context: backend/db
2021-11-14 19:08:30 +01:00
env_file:
- .prod.env
2021-11-14 18:56:17 +01:00
server:
build:
context: backend/server
ports:
- 5000:80
2021-11-14 19:08:30 +01:00
env_file:
- .prod.env
2021-11-14 18:56:17 +01:00
environment:
MONGODB__Host: db
MONGODB__Port: 27017
MONGODB__Database: todo
depends_on:
- db
client:
build:
context: client
ports:
- 3000:3000