mirror of https://github.com/apache/superset.git
Fixing default Dockerfile entrypoint. Gunicorn needed a few tweaks (#8744)
This commit is contained in:
parent
3d2117809f
commit
e55001b88f
|
@ -20,8 +20,13 @@ set -eo pipefail
|
||||||
if [ "${#}" -ne 0 ]; then
|
if [ "${#}" -ne 0 ]; then
|
||||||
exec "${@}"
|
exec "${@}"
|
||||||
else
|
else
|
||||||
gunicorn --bind "0.0.0.0:${SUPERSET_PORT}" \
|
gunicorn \
|
||||||
|
--bind "0.0.0.0:${SUPERSET_PORT}" \
|
||||||
|
--access-logfile '-' \
|
||||||
|
--error-logfile '-' \
|
||||||
--workers 1 \
|
--workers 1 \
|
||||||
|
--worker-class gthread \
|
||||||
|
--threads 20 \
|
||||||
--timeout 60 \
|
--timeout 60 \
|
||||||
--limit-request-line 0 \
|
--limit-request-line 0 \
|
||||||
--limit-request-field_size 0 \
|
--limit-request-field_size 0 \
|
||||||
|
|
Loading…
Reference in New Issue