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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: jupyterhub-traefik-proxy-0.1.0a1.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 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.0a1.tar.gz
Algorithm Hash digest
SHA256 13609ad0842cf447c666e811a0edd43cb2ac61ca69d8b56c08544baafee6c80b
MD5 4520925ecc715fdc4310698bfe2d9e2f
BLAKE2b-256 4c5354acff96e85ecf75ffdc068a46c7f1ecff823b18fbb6536fa69132672d11

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: jupyterhub_traefik_proxy-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 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.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 863fe69dba35c20bae9193b4a0d9c0894c8ae579b56e0177f0f071d107e9d138
MD5 4853977066980bb2bdb9ec24d092ac37
BLAKE2b-256 56cef10cc67dc61ad2c97ef97bee876af2e62223bc212f3b9eccae995ba46488

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