mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-03 13:14:28 +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:
|
volumes:
|
||||||
# If you are using boot2docker, postgres data has to live in the VM for now until #581 is fixed
|
# 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
|
# 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:
|
django:
|
||||||
dockerfile: Dockerfile-dev
|
dockerfile: Dockerfile-dev
|
||||||
|
|
Loading…
Reference in New Issue
Block a user