add volume for redis container
parent
e9b2c26a20
commit
39f478ec1d
|
@ -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: .
|
||||||
|
|
Loading…
Reference in New Issue