diff --git a/docker-compose.yaml b/docker-compose.yaml index 4ec6b65b3..e062809f3 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