add maxmemory
This commit is contained in:
parent
db2ba8b880
commit
49b6a42b65
|
|
@ -7,7 +7,7 @@ services:
|
|||
container_name: medicine-stack-redis
|
||||
image: redis:5.0.6
|
||||
restart: "always"
|
||||
command: redis-server --maxmemory-policy allkeys-lru --maxclients 10000
|
||||
command: redis-server --maxmemory 512mb --maxmemory-policy allkeys-lru --maxclients 1000
|
||||
networks:
|
||||
- medicine-network
|
||||
logging:
|
||||
|
|
|
|||
Loading…
Reference in New Issue