todo/src/docker-compose.yml
kjuulh c89a0958f8
Some checks reported errors
continuous-integration/drone/push Build encountered an error
feat: fix todo
Signed-off-by: kjuulh <contact@kjuulh.io>
2023-12-23 13:01:38 +01:00

34 lines
563 B
YAML

version: "3"
services:
db:
build:
context: backend/db
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
server:
build:
context: backend/server
ports:
- 5000:80
environment:
MONGODB__Username: root
MONGODB__Password: example
MONGODB__Host: db
MONGODB__Port: 27017
MONGODB__Database: todo
env_file:
- .env
depends_on:
- db
client:
build:
context: client
ports:
- 3000:3000