mirror of
https://github.com/BgaSol/sol-cloud
synced 2026-04-21 17:17:16 +00:00
config(redis): update Redis configuration in docker compose
This commit is contained in:
parent
c9ee2c3e9c
commit
835f68d88c
1 changed files with 7 additions and 3 deletions
|
|
@ -117,9 +117,13 @@ services:
|
|||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- redis-server --maxmemory 128mb --maxmemory-policy allkeys-lru --appendonly yes --requirepass $$REDIS_PASSWORD
|
||||
volumes:
|
||||
- redis-data:/data
|
||||
- >
|
||||
redis-server
|
||||
--maxmemory 128mb
|
||||
--maxmemory-policy allkeys-lru
|
||||
--appendonly no
|
||||
--save ""
|
||||
--requirepass $$REDIS_PASSWORD
|
||||
ports:
|
||||
- "6379:6379"
|
||||
networks:
|
||||
|
|
|
|||
Loading…
Reference in a new issue