Skip to content

Commit 3e248c4

Browse files
committed
Add WAITRESS_EXTRA_PARAMS to Waitress Options
1 parent 8c03af4 commit 3e248c4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ Translates to command
165165
waitress-serve --listen=*:80 --no-ipv6 app.wsgi:application
166166
```
167167
168+
Additional extra parameters can passed setting `WAITRESS_EXTRA_PARAMS` environment variable.
169+
168170
# Credits
169171
This dockerfile setup is based on https://github.com/tiangolo/meinheld-gunicorn-docker
170172

scripts/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ else
1212
echo "There is no script $PRE_START_PATH"
1313
fi
1414

15-
params=""
15+
params="$WAITRESS_EXTRA_PARAMS"
1616

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

0 commit comments

Comments
 (0)