From 82f9bf2a1d7a9e0b5e12a48eb10773070bfae8d9 Mon Sep 17 00:00:00 2001 From: Brian Bjarke Jensen Date: Wed, 21 Feb 2024 18:27:04 +0100 Subject: [PATCH] updated to use local.env file --- docker-compose.local.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/docker-compose.local.yml b/docker-compose.local.yml index f322e48..247052c 100644 --- a/docker-compose.local.yml +++ b/docker-compose.local.yml @@ -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: