mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2024-12-27 09:49:05 +01:00
Disable redis persistence and set max-memory
This commit is contained in:
parent
67cba6d731
commit
4bb6684426
@ -16,6 +16,11 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
container_name: cc-redis
|
container_name: cc-redis
|
||||||
image: redis
|
image: redis
|
||||||
|
command: [
|
||||||
|
"redis-server",
|
||||||
|
"--save", "",
|
||||||
|
"--maxmemory", "1gb",
|
||||||
|
"--maxmemory-policy", "allkeys-lru"]
|
||||||
|
|
||||||
php:
|
php:
|
||||||
container_name: cc-php
|
container_name: cc-php
|
||||||
|
Loading…
Reference in New Issue
Block a user