docker: Add redis section to docker-compose file

With a persistent volume.
This commit is contained in:
Thorben Günther 2023-03-08 22:42:29 +01:00
parent 53bd3b4e58
commit de1c9c58ae
No known key found for this signature in database
GPG key ID: 415CD778D8C5AFED

View file

@ -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