From 3305077e2708d93a016a1b5b33b3fc1ec7863604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vilius=20=C5=A0umskas?= Date: Tue, 19 Aug 2025 08:37:01 +0300 Subject: [PATCH] Remove not used mongo-express env. variables --- mongo/compose.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/mongo/compose.yaml b/mongo/compose.yaml index a49a3d6ff..6e300e42a 100644 --- a/mongo/compose.yaml +++ b/mongo/compose.yaml @@ -1,7 +1,4 @@ -# Use root/example as user/password credentials - services: - mongo: image: mongo restart: always @@ -15,7 +12,7 @@ services: ports: - 8081:8081 environment: - ME_CONFIG_MONGODB_ADMINUSERNAME: root - ME_CONFIG_MONGODB_ADMINPASSWORD: example ME_CONFIG_MONGODB_URL: mongodb://root:example@mongo:27017/ - ME_CONFIG_BASICAUTH: false + ME_CONFIG_BASICAUTH_ENABLED: true + ME_CONFIG_BASICAUTH_USERNAME: mongoexpressuser + ME_CONFIG_BASICAUTH_PASSWORD: mongoexpresspass