Skip to content

Commit

Permalink
Clean up unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
soapy1 committed Nov 27, 2024
1 parent 56afd7d commit 14ee51b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
4 changes: 1 addition & 3 deletions examples/docker-without-nfs/assets/jupyterhub_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ async def options_form(self, spawner):
conda-store environment must contain jupyterhub, jupyterlab, nb_conda_store_kernels, and jupyterlab
Choose an environment:
<select name="build_id" multiple="false">
{''.join(options)}
</select>
Expand Down Expand Up @@ -123,4 +121,4 @@ async def list_environments(self, token: str):
]

# Users are able to log in with username/password combo ritter/test
c.Authenticator.admin_users = {'ritter'}
c.Authenticator.admin_users = {'ritter'}
7 changes: 0 additions & 7 deletions examples/docker-without-nfs/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,13 @@ services:
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=true"
- "--entrypoints.web.address=:80"
# - "--entrypoints.websecure.address=:443"
- "--entrypoints.minio.address=:9080"
- "--entrypoints.websecure.http.tls=false"
- "--entrypoints.minio.http.tls=false"
# - "--entrypoints.web.http.redirections.entryPoint.to=websecure"
- "--entrypoints.web.http.redirections.entryPoint.scheme=http"
# - "--entrypoints.web.http.redirections.entrypoint.permanent=true"
ports:
- "80:80"
- "443:443"
# - "8080:8080"
- "9080:9080"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
Expand All @@ -28,7 +24,6 @@ services:
image: quansight/conda-store-server
user: 1000:100
volumes:
# - conda_store_data:/opt/conda-store/
- ./assets/conda_store_config.py:/etc/conda-store/conda_store_config.py:ro
- ./assets/environments:/opt/environments:ro
depends_on:
Expand All @@ -50,7 +45,6 @@ services:
labels:
- "traefik.enable=true"
- "traefik.http.routers.conda-store.rule=Host(`conda-store.localhost`) && PathPrefix(`/conda-store`)"
# - "traefik.http.routers.conda-store.entrypoints=websecure"
- "traefik.port=8080"
depends_on:
postgres:
Expand Down Expand Up @@ -86,7 +80,6 @@ services:
labels:
- "traefik.enable=true"
- "traefik.http.routers.jupyterhub.rule=Host(`conda-store.localhost`) && (Path(`/`) || PathPrefix(`/hub`) || PathPrefix(`/user`))"
# - "traefik.http.routers.jupyterhub.entrypoints=websecure"
- "traefik.port=8000"
user: 1000:1000
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ RUN npm install -g configurable-http-proxy
WORKDIR /opt/conda-store

USER conda-store
WORKDIR /opt/jupyterhub
WORKDIR /opt/jupyterhub

0 comments on commit 14ee51b

Please sign in to comment.