From 6f4cf732588aeac9dbb8976b2a487ccc0d31c895 Mon Sep 17 00:00:00 2001 From: BryantHe Date: Mon, 5 Feb 2024 16:03:21 +0800 Subject: [PATCH] fix: mongodb adjust --- docker-compose-mongodb.yml | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/docker-compose-mongodb.yml b/docker-compose-mongodb.yml index 6ba6592..8736d96 100644 --- a/docker-compose-mongodb.yml +++ b/docker-compose-mongodb.yml @@ -15,28 +15,23 @@ services: - MONGO_INITDB_ROOT_PASSWORD=mongodb27017 networks: - mongodb_network - - diyue-network - mongo-express: - image: mongo-express - hostname: mongo-express - container_name: mongo-express - restart: always - ports: - - 8088:8081 - environment: - - ME_CONFIG_MONGODB_ADMINUSERNAME=admin - - ME_CONFIG_MONGODB_ADMINPASSWORD=mongodb27017 - - ME_CONFIG_MONGODB_SERVER=mongodb - networks: - - mongodb_network - - diyue-network +# mongo-express: +# image: mongo-express +# hostname: mongo-express +# container_name: mongo-express +# restart: always +# ports: +# - 8088:8081 +# environment: +# - ME_CONFIG_MONGODB_ADMINUSERNAME=admin +# - ME_CONFIG_MONGODB_ADMINPASSWORD=mongodb27017 +# - ME_CONFIG_MONGODB_SERVER=mongodb +# networks: +# - mongodb_network networks: mongodb_network: driver: bridge - diyue-network: - driver: overlay - attachable: true volumes: mongodb_data: