Add persistence for redis to docker-compose
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user