From 426810f2014d55a92e904424c4f292664c4f5a51 Mon Sep 17 00:00:00 2001 From: Raniere Silva Date: Tue, 7 Jan 2025 18:04:16 +0100 Subject: [PATCH] Expand notes for local development Relates to https://github.com/jupyterhub/mybinder.org-deploy/issues/3157 --- config/docker-desktop.yaml | 26 ++++++++++++++++ docs/source/getting_started/docker_desktop.md | 30 +++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 config/docker-desktop.yaml diff --git a/config/docker-desktop.yaml b/config/docker-desktop.yaml new file mode 100644 index 000000000..3be7c4943 --- /dev/null +++ b/config/docker-desktop.yaml @@ -0,0 +1,26 @@ +binderhub: + registry: + username: "your-username" + # This is unsafe! Only se for local development + password: "your-password" + + ingress: + hosts: + - localhost + + jupyterhub: + ingress: + hosts: + - localhost + +prometheus: + enabled: false + +grafana: + enabled: false + +cryptnono: + enabled: false + +cluster-autoscaler: + enabled: false \ No newline at end of file diff --git a/docs/source/getting_started/docker_desktop.md b/docs/source/getting_started/docker_desktop.md index 1abb46ce1..7a5d72f07 100644 --- a/docs/source/getting_started/docker_desktop.md +++ b/docs/source/getting_started/docker_desktop.md @@ -22,3 +22,33 @@ kubectl get -A pods ``` and a list of all running pods should be printed. + +## Deploy Harbor to Docker Desktop + +Run the following command: + +``` +helm repo add harbor https://helm.goharbor.io +``` + +``` +helm install harbor harbor/harbor +``` + +## Deploy mybinder.org to Docker Desktop + +Run the following command: + +``` +source cert-manager.env +``` + +``` +for d in ./mybinder*/; do + helm dependency update "$d" +done +``` + +``` +python deploy.py docker-desktop +``` \ No newline at end of file