Commit 55caf5e0 authored by Laury Bueno's avatar Laury Bueno

[Dev] Add an easy way to import database dumps

parent b35cd0b3
......@@ -296,6 +296,7 @@ pip-selfcheck.json
base_django_project/media/
*.sql*
# Added to maintain local compose files which are ignored by something above.
# See issue https://github.com/pydanny/cookiecutter-django/issues/1321
......
......@@ -36,6 +36,7 @@ services:
image: postgres:11.1
volumes:
- db_data:/var/lib/postgresql/data
- ./compose/local/postgres/data:/docker-entrypoint-initdb.d
environment:
- POSTGRES_DB=django
- POSTGRES_USER=django
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment