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

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