updated env vars

This commit is contained in:
Brian Bjarke Jensen
2024-02-20 19:57:23 +01:00
parent c166420909
commit 7068cff2da
+6 -3
View File
@@ -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: