mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 19:44:00 +03:00
Add POSTGRES_USER environment variable to django service.
This commit is contained in:
parent
eca82b5aff
commit
0a33611c30
|
@ -17,6 +17,8 @@ services:
|
||||||
command: python /app/manage.py runserver_plus 0.0.0.0:8000
|
command: python /app/manage.py runserver_plus 0.0.0.0:8000
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
environment:
|
||||||
|
- POSTGRES_USER={{cookiecutter.repo_name}}
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- .:/app
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user