From 81a364dfc459663e150403513b39ce882bab417e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Wed, 22 Oct 2025 12:14:29 +0200 Subject: [PATCH] :whale: Set default values for maxmemory and maxmemory-policy in Valkey --- docker/images/docker-compose.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/images/docker-compose.yaml b/docker/images/docker-compose.yaml index 59601af625..f146313976 100644 --- a/docker/images/docker-compose.yaml +++ b/docker/images/docker-compose.yaml @@ -247,6 +247,11 @@ services: networks: - penpot + environment: + # You can increase the max memory size if you have sufficient resources, + # although this should not be necessary. + - VALKEY_EXTRA_FLAGS=--maxmemory 128mb --maxmemory-policy volatile-lfu + ## A mailcatch service, used as temporal SMTP server. You can access via HTTP to the ## port 1080 for read all emails the penpot platform has sent. Should be only used as a ## temporal solution while no real SMTP provider is configured.