update postgres volume path

This commit is contained in:
Mahmoud Zalt 2016-05-09 04:20:03 +03:00
parent de8cbb0605
commit ecefee4d65
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ services:
build: ./data build: ./data
volumes: volumes:
- /var/lib/mysql - /var/lib/mysql
- /var/lib/postgresql/data - /var/lib/postgres
- /var/lib/redis - /var/lib/redis
### MySQL Container ######################################### ### MySQL Container #########################################

View File

@ -2,7 +2,7 @@ FROM postgres:latest
MAINTAINER Ben M <git@bmagg.com> MAINTAINER Ben M <git@bmagg.com>
VOLUME /var/lib/postgresql/data VOLUME /var/lib/postgres
CMD ["postgres"] CMD ["postgres"]