Skip to content

Commit

Permalink
Add the ability to override the gunicorn path in start scripts
Browse files Browse the repository at this point in the history
No-Issue
  • Loading branch information
rooftopcellist committed Feb 21, 2024
1 parent 9b4e10c commit 61a6076
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/bin/start-api
Original file line number Diff line number Diff line change
Expand Up @@ -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:-}"
Expand Down
2 changes: 1 addition & 1 deletion docker/bin/start-api-reload
Original file line number Diff line number Diff line change
Expand Up @@ -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:-}"

Expand Down

0 comments on commit 61a6076

Please sign in to comment.