Files
jupyterhub/examples/service-whoami/jupyterhub_config.py
2020-04-16 12:12:22 +02:00

15 lines
316 B
Python

import sys
c.JupyterHub.services = [
{
'name': 'whoami',
'url': 'http://127.0.0.1:10101',
'command': [sys.executable, './whoami.py'],
},
{
'name': 'whoami-oauth',
'url': 'http://127.0.0.1:10102',
'command': [sys.executable, './whoami-oauth.py'],
},
]