Try with env variables
This commit is contained in:
parent
9291e42258
commit
db46422e53
|
@ -144,7 +144,7 @@ hub:
|
||||||
c.JupyterHub.services = [
|
c.JupyterHub.services = [
|
||||||
{
|
{
|
||||||
'name': 'refresh-token',
|
'name': 'refresh-token',
|
||||||
'url': 'http://hub:8082',
|
'url': 'http://' + os.environ.get('HUB_SERVICE_HOST', 'hub') + ':' os.environ.get('HUB_SERVICE_PORT_REFRESH_TOKEN', '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'],
|
||||||
|
|
Loading…
Reference in a new issue