Merge branch 'main' into production

This commit is contained in:
Kasper Juul Hermansen 2021-11-14 19:12:03 +01:00
commit 93fec8bd27
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -4,20 +4,17 @@ services:
db: db:
build: build:
context: backend/db context: backend/db
ports: env_file:
- 27017:27017 - .prod.env
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
server: server:
build: build:
context: backend/server context: backend/server
ports: ports:
- 5000:80 - 5000:80
env_file:
- .prod.env
environment: environment:
MONGODB__Username: root
MONGODB__Password: example
MONGODB__Host: db MONGODB__Host: db
MONGODB__Port: 27017 MONGODB__Port: 27017
MONGODB__Database: todo MONGODB__Database: todo