Add persistence for redis to docker-compose

This commit is contained in:
MaxJa4
2024-01-21 18:06:27 +01:00
parent f2573f2273
commit a912c68450

View File

@@ -15,4 +15,7 @@ services:
redis:
image: redis:alpine
ports:
- "127.0.0.1:6379:6379"
- "127.0.0.1:6379:6379"
command: redis-server --save 5 1 --loglevel warning
volumes:
- ./redis:/data