mirror of
https://github.com/stellarshenson/stellars-jupyterhub-ds.git
synced 2026-03-07 21:50:28 +00:00
updated to have certificates mounted externally
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
this is where certificates for jupyterlab and jupyterhub should be uploaded
|
||||
this directory will be mounted under /mnt/certs
|
||||
|
||||
- server.key - private key
|
||||
- server.crt - certificate
|
||||
@@ -50,9 +50,9 @@ services:
|
||||
container_name: ${COMPOSE_PROJECT_NAME:-stellars-jupyterhub-ds}-jupyterhub
|
||||
volumes:
|
||||
- ./config/jupyterhub_config.py:/srv/jupyterhub/jupyterhub_config.py:ro # config file (read only)
|
||||
- ./certs:/mnt/certs # SSL certificates
|
||||
- /var/run/docker.sock:/var/run/docker.sock:rw # docker socket to use spawner
|
||||
- jupyterhub_data:/data # database and cookie secrets
|
||||
- jupyterhub_certs:/mnt/certs # SSL certificates
|
||||
- jupyterhub_shared:/mnt/shared # shared volume across environments
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro # for nvidia autodetection
|
||||
environment:
|
||||
|
||||
@@ -33,7 +33,6 @@ EOF
|
||||
## copy resources
|
||||
COPY --chmod=755 ./conf/bin/*.sh ./conf/bin/*.py /
|
||||
COPY --chmod=755 ./conf/bin/start-platform.d /start-platform.d
|
||||
COPY ./templates/certs /mnt/certs
|
||||
|
||||
## install dockerspawner, nativeauthenticator
|
||||
RUN pip install -U --no-cache-dir \
|
||||
|
||||
Reference in New Issue
Block a user