add volume for redis container
parent
4512fde181
commit
b73cee9774
|
@ -8,6 +8,8 @@ services:
|
||||||
redis:
|
redis:
|
||||||
restart: always
|
restart: always
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
|
volumes:
|
||||||
|
- ./redis:/data
|
||||||
web:
|
web:
|
||||||
restart: always
|
restart: always
|
||||||
build: .
|
build: .
|
||||||
|
|
Reference in New Issue