From d5e0d92393d338c1720db240d6de5104cffb200b Mon Sep 17 00:00:00 2001 From: Brian Conway Date: Thu, 4 Jan 2024 19:03:12 -0600 Subject: [PATCH] Add a reasonable default Redis persistence Despite the claim of the README.md, `PostgreSQL and Redis data is persisted in Docker volumes`, this is not actually the case. The volume is present, but Redis is not configured to use it. This question comes up on the forum monthly, if not more frequently. Choose a reasonable default for people to build on. --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index f15a6f7..49035a2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -65,6 +65,7 @@ services: redis: image: redis:7-alpine restart: unless-stopped + command: redis-server --save 300 1 --save 60 100 --appendonly no volumes: - redisdata:/data