mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2024-11-10 09:17:26 +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