Skip to content

Commit 7679400

Browse files
committed
Add WAITRESS_EXTRA_PARAMS to Waitress Options
1 parent 714f327 commit 7679400

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

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

scripts/run.sh

+1-1
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)