mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-11 12:03:00 +00:00

apologies to anyone finding this commit via git blame or log run the autoformatting by pre-commit run --all-files
18 lines
436 B
Python
18 lines
436 B
Python
import os
|
|
import sys
|
|
|
|
c.JupyterHub.services = [
|
|
{
|
|
'name': 'whoami',
|
|
'url': 'http://127.0.0.1:10101',
|
|
'command': ['flask', 'run', '--port=10101'],
|
|
'environment': {'FLASK_APP': 'whoami-flask.py'},
|
|
},
|
|
{
|
|
'name': 'whoami-oauth',
|
|
'url': 'http://127.0.0.1:10201',
|
|
'command': ['flask', 'run', '--port=10201'],
|
|
'environment': {'FLASK_APP': 'whoami-oauth.py'},
|
|
},
|
|
]
|