Add prod env to docker-compose
This commit is contained in:
parent
310bc219b5
commit
f8b1d0c36a
@ -6,18 +6,17 @@ services:
|
||||
context: backend/db
|
||||
ports:
|
||||
- 27017:27017
|
||||
environment:
|
||||
MONGO_INITDB_ROOT_USERNAME: root
|
||||
MONGO_INITDB_ROOT_PASSWORD: example
|
||||
env_file:
|
||||
- .prod.env
|
||||
|
||||
server:
|
||||
build:
|
||||
context: backend/server
|
||||
ports:
|
||||
- 5000:80
|
||||
env_file:
|
||||
- .prod.env
|
||||
environment:
|
||||
MONGODB__Username: root
|
||||
MONGODB__Password: example
|
||||
MONGODB__Host: db
|
||||
MONGODB__Port: 27017
|
||||
MONGODB__Database: todo
|
||||
|
Loading…
Reference in New Issue
Block a user