updated env vars
This commit is contained in:
@@ -6,6 +6,10 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
env_file:
|
||||||
|
- mongodb.env
|
||||||
|
environment:
|
||||||
|
- MONGO_HOST=mongo
|
||||||
ports:
|
ports:
|
||||||
- 8050:8050
|
- 8050:8050
|
||||||
networks:
|
networks:
|
||||||
@@ -15,9 +19,8 @@ services:
|
|||||||
mongo:
|
mongo:
|
||||||
image: mongo:latest
|
image: mongo:latest
|
||||||
container_name: mongo
|
container_name: mongo
|
||||||
environment:
|
env_file:
|
||||||
MONGO_INITDB_ROOT: root
|
- mongodb.env
|
||||||
MONGO_INITDB_PASSWORD: vSH7I7RxsDvb
|
|
||||||
ports:
|
ports:
|
||||||
- "27017:27017"
|
- "27017:27017"
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user