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: