Add POSTGRES_USER environment variable to django service.

This commit is contained in:
calculuscowboy 2016-03-16 12:06:48 -04:00
parent eca82b5aff
commit 0a33611c30

View File

@ -17,6 +17,8 @@ services:
command: python /app/manage.py runserver_plus 0.0.0.0:8000
depends_on:
- postgres
environment:
- POSTGRES_USER={{cookiecutter.repo_name}}
volumes:
- .:/app
ports: