From b7f257daf1ed5a46a49b57d3b6b374334b97106b Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Thu, 23 Jun 2022 11:06:17 +0800 Subject: [PATCH] compose file update --- docker-compose.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 4cc16b977..0b159bfd8 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -20,7 +20,7 @@ services: ports: - 37017:27017 container_name: mongo - command: --wiredTigerCacheSizeGB 5 + command: --wiredTigerCacheSizeGB 1 volumes: - ./components/mongodb/data/db:/data/db - ./components/mongodb/data/logs:/data/logs @@ -45,7 +45,7 @@ services: volumes: - ./components/redis/data:/data #redis config file - #- ./components/redis/config/redis.conf:/usr/local/redis/config/redis.conf + - ./components/redis/config/redis.conf:/usr/local/redis/config/redis.conf environment: TZ: Asia/Shanghai restart: always