Try and try again
This commit is contained in:
parent
b786fb9b40
commit
07a2e2238e
|
@ -144,7 +144,7 @@ hub:
|
||||||
c.JupyterHub.services = [
|
c.JupyterHub.services = [
|
||||||
{
|
{
|
||||||
'name': 'refresh-token',
|
'name': 'refresh-token',
|
||||||
'url': 'http://hub:8082',
|
'url': 'http://127.0.0.1:8082',
|
||||||
'display': False,
|
'display': False,
|
||||||
'oauth_no_confirm': True,
|
'oauth_no_confirm': True,
|
||||||
'api_token': os.environ['JUPYTERHUB_CRYPT_KEY'],
|
'api_token': os.environ['JUPYTERHUB_CRYPT_KEY'],
|
||||||
|
@ -193,7 +193,7 @@ hub:
|
||||||
http_server = HTTPServer(app)
|
http_server = HTTPServer(app)
|
||||||
url = urlparse(os.environ['JUPYTERHUB_SERVICE_URL'])
|
url = urlparse(os.environ['JUPYTERHUB_SERVICE_URL'])
|
||||||
|
|
||||||
http_server.listen(url.port, reuse_port=True)
|
http_server.listen(url.port)
|
||||||
|
|
||||||
IOLoop.current().start()
|
IOLoop.current().start()
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in a new issue