[docker-entry-point.sh] Allow docker host per default

This commit is contained in:
Florian Wilkens 2018-08-29 16:50:49 +02:00 committed by GitHub
parent 49867e15ff
commit ed97a4759d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ case "$1" in
export SYNCSERVER_SQLURI="${SYNCSERVER_SQLURI:-sqlite:///tmp/syncserver.db}" export SYNCSERVER_SQLURI="${SYNCSERVER_SQLURI:-sqlite:///tmp/syncserver.db}"
exec gunicorn \ exec gunicorn \
--bind ${HOST-0.0.0.0}:${PORT-5000}\ --bind ${HOST-0.0.0.0}:${PORT-5000}\
--forwarded-allow-ips="${SYNCSERVER_FORWARDED_ALLOW_IPS:-127.0.0.1}" --forwarded-allow-ips="${SYNCSERVER_FORWARDED_ALLOW_IPS:-127.0.0.1,172.17.0.1}"
syncserver.wsgi_app syncserver.wsgi_app
;; ;;