From 97857499636bc3278d9e3f2c25f8d06ab21a6c43 Mon Sep 17 00:00:00 2001
From: remyvdwereld <86827854+remyvdwereld@users.noreply.github.com>
Date: Thu, 30 Nov 2023 13:36:53 +0100
Subject: [PATCH] Update zaken-redis

---
 docker-compose.yml | 3 ++-
 redis/Dockerfile   | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/docker-compose.yml b/docker-compose.yml
index b032b5bec..eed2bbf5b 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -23,9 +23,10 @@ services:
     tty: true
 
   zaak-redis:
-    image: redis
+    build: redis
     environment:
       - REDIS_PASSWORD=password
+      - REDIS_MAXMEM=100mb
     networks:
       - zaken_network
     ports:
diff --git a/redis/Dockerfile b/redis/Dockerfile
index ae0b59e0d..abc6f1c30 100644
--- a/redis/Dockerfile
+++ b/redis/Dockerfile
@@ -1,4 +1,4 @@
-FROM redis:6.0.9-alpine
+FROM redis:6.2.14-alpine3.18
 
 RUN apk add --no-cache gettext
 COPY redis.conf.template /usr/local/etc/redis/redis.conf.template