From bb54ebf9c92762f6498506620a2a402e7a1940f2 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 4 Aug 2023 21:31:04 +0200 Subject: [PATCH] todopod: Persist redis data --- todopod/docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/todopod/docker-compose.yml b/todopod/docker-compose.yml index 61d17b3..ca44a60 100644 --- a/todopod/docker-compose.yml +++ b/todopod/docker-compose.yml @@ -2,6 +2,12 @@ services: redis: image: "redis" restart: unless-stopped + command: >- + redis-server + --save 60 1 + --loglevel notice + volumes: + - "./data/redis/rdata:/data" red: image: "ghcr.io/steffo99/todocolors-red" restart: unless-stopped