Try with env variables

This commit is contained in:
Micke Nordin 2024-01-17 14:25:04 +01:00
parent 9291e42258
commit db46422e53
Signed by untrusted user: Micke
GPG key ID: F53C4CC83EDAB3BE

View file

@ -144,7 +144,7 @@ hub:
c.JupyterHub.services = [
{
'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,
'oauth_no_confirm': True,
'api_token': os.environ['JUPYTERHUB_CRYPT_KEY'],