mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-09 21:24:43 +00:00
Added CELERY_BROKER_URL back to entrypoint and surrounded it with a conditional
This commit is contained in:
parent
7c69704f9f
commit
2c56b2e0e3
1 changed files with 5 additions and 0 deletions
|
|
@ -5,6 +5,11 @@ set -o pipefail
|
|||
set -o nounset
|
||||
|
||||
|
||||
{% if cookiecutter.use_celery == 'y' %}
|
||||
# N.B. If only .env files supported variable expansion...
|
||||
export CELERY_BROKER_URL="${REDIS_URL}"
|
||||
{% endif %}
|
||||
|
||||
if [ -z "${POSTGRES_USER}" ]; then
|
||||
base_postgres_image_default_user='postgres'
|
||||
export POSTGRES_USER="${base_postgres_image_default_user}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue