add volume for redis container
This commit is contained in:
parent
4512fde181
commit
b73cee9774
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@ services:
|
|||
redis:
|
||||
restart: always
|
||||
image: redis:alpine
|
||||
volumes:
|
||||
- ./redis:/data
|
||||
web:
|
||||
restart: always
|
||||
build: .
|
||||
|
|
Loading…
Reference in a new issue