Skip to main content

JupyterHub proxy implementation with traefik

Project description

jupyterhub-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.0.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

jupyterhub_traefik_proxy-0.1.0-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file jupyterhub-traefik-proxy-0.1.0.tar.gz.

File metadata

  • Download URL: jupyterhub-traefik-proxy-0.1.0.tar.gz
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for jupyterhub-traefik-proxy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 318128e621f14bda1a452b9b881c30021ba226d99dd1a73722104fc4cc8b1a6c
MD5 336f58257ad52104e013ce08cefe511c
BLAKE2b-256 d91671165e8b20eeec3b1fe526bb8ed06e6db5f6bebb91c72de866cf90bbe2a6

See more details on using hashes here.

Provenance

File details

Details for the file jupyterhub_traefik_proxy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: jupyterhub_traefik_proxy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for jupyterhub_traefik_proxy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e55910085cdc3098527fd11dbc8c313bb7a625e6442ad72188911023e392ccd
MD5 087e395f791004a7eae333a70395d662
BLAKE2b-256 36ac38d87bf3846e2b8fd93d02cb26a9174a2120e9d0a03028118841d584b96a

See more details on using hashes here.

Provenance

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