Skip to content

Commit

Permalink
Add WAITRESS_EXTRA_PARAMS to Waitress Options
Browse files Browse the repository at this point in the history
  • Loading branch information
mrv96 committed May 31, 2023
1 parent 8c03af4 commit 3e248c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ Translates to command
waitress-serve --listen=*:80 --no-ipv6 app.wsgi:application
```
Additional extra parameters can passed setting `WAITRESS_EXTRA_PARAMS` environment variable.
# Credits
This dockerfile setup is based on https://github.com/tiangolo/meinheld-gunicorn-docker
Expand Down
2 changes: 1 addition & 1 deletion scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ else
echo "There is no script $PRE_START_PATH"
fi

params=""
params="$WAITRESS_EXTRA_PARAMS"

if [[ -v $WAITRESS_LISTEN ]]; then
listeners=$(echo "$WAITRESS_LISTEN" | tr "," "\n")
Expand Down

0 comments on commit 3e248c4

Please sign in to comment.