updated to use local.env file
This commit is contained in:
@@ -7,9 +7,7 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
env_file:
|
env_file:
|
||||||
- mongodb.env
|
- local.env
|
||||||
environment:
|
|
||||||
- MONGO_HOST=mongo
|
|
||||||
ports:
|
ports:
|
||||||
- 8050:8050
|
- 8050:8050
|
||||||
networks:
|
networks:
|
||||||
@@ -20,7 +18,7 @@ services:
|
|||||||
image: mongo:latest
|
image: mongo:latest
|
||||||
container_name: mongo
|
container_name: mongo
|
||||||
env_file:
|
env_file:
|
||||||
- mongodb.env
|
- local.env
|
||||||
ports:
|
ports:
|
||||||
- "27017:27017"
|
- "27017:27017"
|
||||||
networks:
|
networks:
|
||||||
@@ -29,12 +27,8 @@ services:
|
|||||||
image: mongo-express
|
image: mongo-express
|
||||||
ports:
|
ports:
|
||||||
- 8081:8081
|
- 8081:8081
|
||||||
environment:
|
env_file:
|
||||||
ME_CONFIG_MONGODB_ADMINUSERNAME: root
|
- local.env
|
||||||
ME_CONFIG_MONGODB_ADMINPASSWORD: vSH7I7RxsDvb
|
|
||||||
ME_CONFIG_MONGODB_PORT: 27017
|
|
||||||
ME_CONFIG_BASICAUTH_USERNAME: admin
|
|
||||||
ME_CONFIG_BASICAUTH_PASSWORD: q
|
|
||||||
links:
|
links:
|
||||||
- mongo
|
- mongo
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user