add persistance to Postresql container

This commit is contained in:
Valentin_NC 2017-04-05 09:06:08 +11:00
parent ed22f65b3c
commit 4512fde181
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@ services:
db:
restart: always
image: postgres:alpine
volumes:
- ./postgres-data:/var/lib/postgresql/data
redis:
restart: always
image: redis:alpine