t&e
This commit is contained in:
parent
a56a2fdab8
commit
d8f082c6eb
|
@ -142,7 +142,7 @@ hub:
|
|||
c.JupyterHub.services = [
|
||||
{
|
||||
'name': 'refresh-token',
|
||||
'url': 'http://:8082',
|
||||
'url': 'http://hub:8082',
|
||||
'display': False,
|
||||
'oauth_no_confirm': True,
|
||||
'api_token': os.environ['JUPYTERHUB_CRYPT_KEY'],
|
||||
|
@ -190,9 +190,9 @@ hub:
|
|||
|
||||
http_server = HTTPServer(app)
|
||||
print(os.environ)
|
||||
url = urlparse(os.environ['JUPYTERHUB_SERVICE_URL'])
|
||||
url = urlparse(os.environ['JUPYTERHUB_API_URL'])
|
||||
|
||||
http_server.listen(url.port, url.hostname)
|
||||
http_server.listen(url.port, reuse_port=True)
|
||||
|
||||
IOLoop.current().start()
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in a new issue