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