From 20db8e4a9eed73fc43e6526767d45085b4b3e9fc Mon Sep 17 00:00:00 2001 From: Monet Lee Date: Thu, 31 Oct 2024 17:16:11 +0800 Subject: [PATCH] remove unused comments. --- docker-compose.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 7a5c57ccd..43bd004e9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,9 +8,7 @@ services: ports: - "37017:27017" container_name: mongo - # command: ["/bin/bash", "-c", "/docker-entrypoint-initdb.d/mongo-init.sh; docker-entrypoint.sh mongod --wiredTigerCacheSizeGB 1 --auth"] - # command: ["/bin/bash", "-c", "docker-entrypoint.sh mongod --wiredTigerCacheSizeGB 1 --auth & /docker-entrypoint-initdb.d/mongo-init.sh; wait"] - command: ["/bin/bash", "-c", "docker-entrypoint.sh mongod --wiredTigerCacheSizeGB 1 --auth & sleep 10; /docker-entrypoint-initdb.d/mongo-init.sh; wait"] + command: ["/bin/bash", "-c", "docker-entrypoint.sh mongod --wiredTigerCacheSizeGB 1 --auth & sleep 5; /docker-entrypoint-initdb.d/mongo-init.sh; wait"] volumes: - "${DATA_DIR}/components/mongodb/data/db:/data/db" - "${DATA_DIR}/components/mongodb/data/logs:/data/logs"