updated to use local.env file

This commit is contained in:
Brian Bjarke Jensen
2024-02-21 18:27:04 +01:00
parent d3ecc50075
commit 82f9bf2a1d
+4 -10
View File
@@ -7,9 +7,7 @@ services:
context: .
dockerfile: Dockerfile
env_file:
- mongodb.env
environment:
- MONGO_HOST=mongo
- local.env
ports:
- 8050:8050
networks:
@@ -20,7 +18,7 @@ services:
image: mongo:latest
container_name: mongo
env_file:
- mongodb.env
- local.env
ports:
- "27017:27017"
networks:
@@ -29,12 +27,8 @@ services:
image: mongo-express
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: vSH7I7RxsDvb
ME_CONFIG_MONGODB_PORT: 27017
ME_CONFIG_BASICAUTH_USERNAME: admin
ME_CONFIG_BASICAUTH_PASSWORD: q
env_file:
- local.env
links:
- mongo
networks: