mirror of
https://github.com/mozilla-services/syncserver
synced 2024-11-10 07:10:44 +00:00
[docker-entry-point.sh] Allow docker host per default
This commit is contained in:
parent
49867e15ff
commit
ed97a4759d
@ -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
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user