mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-10 19:57:09 +03:00
move development postgres data volume to /data/dev to avoid conflicts with production volume
This commit is contained in:
parent
571530dd09
commit
fe497c6dd0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user