Add persistence for redis to docker-compose
This commit is contained in:
1 parent
f2573f2273
commit
a912c68450
1 file changed
+4
-1
+4
-1
@@ -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