1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-25 02:57:22 +00:00

Set ipv4 address explicitly for docker usage

This commit is contained in:
marblepebble 2017-08-18 21:53:52 +01:00 committed by GitHub
parent 15895f4055
commit 97f573c41a

View File

@ -3094,5 +3094,5 @@ def upload():
def start_gevent(): def start_gevent():
from gevent.wsgi import WSGIServer from gevent.wsgi import WSGIServer
global gevent_server global gevent_server
gevent_server = WSGIServer(('', ub.config.config_port), app) gevent_server = WSGIServer(('0.0.0.0', ub.config.config_port), app)
gevent_server.serve_forever() gevent_server.serve_forever()