From de1c9c58ae37ac3b69218237cdf615aea557124f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Wed, 8 Mar 2023 22:42:29 +0100 Subject: [PATCH] docker: Add redis section to docker-compose file With a persistent volume. --- docker/docker-compose.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 5e7f683..8911f3d 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -8,3 +8,11 @@ services: ports: - 127.0.0.1:8080:8080 restart: unless-stopped + + # Uncomment if you want to use redis as cache + # redis: + # image: redis:alpine + # container_name: redis + # restart: unless-stopped + # volumes: + # - ./cache:/data