Skip to main content

JupyterHub proxy implementation with traefik

Project description

traefik-proxy

JupyterHub proxy implementation with traefik

How to start Jupyterhub with traefik-proxy using jupyterhub_config.py:

1. Install Jupyterhub:

python3 -m pip install jupyterhub

Please visit Jupyterhub installation guide for a complete installation guide

2. Install traefik

Grab the latest binary for your platform from traefik realeases page, e.g.

wget https://github.com/containous/traefik/releases/download/v1.7.0/traefik_linux-amd64

Mark the binary as executable, e.g.

chmod 755 traefik_linux-amd64

Add the traefik binary as traefik, and make sure it is on your PATH, e.g.

mv traefik_linux-amd64 /usr/local/bin/traefik

3. Install etcd

Download the latest archive for your platform from etcd realeases page, e.g.

wget https://github.com/etcd-io/etcd/releases/download/v3.3.10/etcd-v3.3.10-linux-amd64.tar.gz

Extract etcd and etcdctl executables from the archive, e.g.

tar xzvf etcd-v3.3.10-linux-amd64.tar.gz

Add etcd and etcdl to your PATH, e.g.

mv etcd /usr/local/bin/etcd
mv etcdctl /usr/local/bin/etcdctl

4. Start the etcd cluster, e.g.

etcd &> /dev/null &

5. Start Jupyterhub:

jupyterhub --ip 127.0.0.1 --port=8000 -f ./examples/jupyterhub_config.py

Visit http://localhost:8000 in your browser, and sign in using any username and password.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyterhub-traefik-proxy-0.1.0a1.tar.gz (26.9 kB view hashes)

Uploaded Source

Built Distribution

jupyterhub_traefik_proxy-0.1.0a1-py3-none-any.whl (21.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page