diff --git a/docker/bin/start-api b/docker/bin/start-api index d15ad1c333..4922186eb7 100755 --- a/docker/bin/start-api +++ b/docker/bin/start-api @@ -4,7 +4,7 @@ set -o errexit set -o nounset -readonly GUNICORN='/venv/bin/gunicorn' +readonly GUNICORN=${GUNICORN:-'/venv/bin/gunicorn'} readonly GUNICORN_FORWARDED_ALLOW_IPS="${GUNICORN_FORWARDED_ALLOW_IPS:-}" readonly GUNICORN_WORKERS="${GUNICORN_WORKERS:-4}" readonly GUNICORN_LOGGER_CLASS="${GUNICORN_LOGGER_CLASS:-}" diff --git a/docker/bin/start-api-reload b/docker/bin/start-api-reload index 9a9b24971c..124593a461 100755 --- a/docker/bin/start-api-reload +++ b/docker/bin/start-api-reload @@ -5,7 +5,7 @@ set -o errexit set -o nounset -readonly GUNICORN='/venv/bin/gunicorn' +readonly GUNICORN=${GUNICORN:-'/venv/bin/gunicorn'} readonly GUNICORN_WORKERS=${GUNICORN_WORKERS:-4} readonly GUNICORN_LOGGER_CLASS="${GUNICORN_LOGGER_CLASS:-}"