add volume for redis container

This commit is contained in:
Valentin_NC 2017-04-05 14:13:22 +11:00
parent 4512fde181
commit b73cee9774
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@ services:
redis:
restart: always
image: redis:alpine
volumes:
- ./redis:/data
web:
restart: always
build: .