move development postgres data volume to /data/dev to avoid conflicts with production volume

This commit is contained in:
Jannis Gebauer 2015-10-24 19:23:43 +02:00
parent 571530dd09
commit fe497c6dd0

View File

@ -3,7 +3,7 @@ postgres:
volumes:
# If you are using boot2docker, postgres data has to live in the VM for now until #581 is fixed
# for more info see here: https://github.com/boot2docker/boot2docker/issues/581
- /data/{{cookiecutter.repo_name}}/postgres:/var/lib/postgresql/data
- /data/dev/{{cookiecutter.repo_name}}/postgres:/var/lib/postgresql/data
django:
dockerfile: Dockerfile-dev