Skip to content

Instantly share code, notes, and snippets.

@ruchej
Last active October 21, 2022 19:41
Show Gist options
  • Save ruchej/75e3148ae530c034039c1643e3e3971f to your computer and use it in GitHub Desktop.
Save ruchej/75e3148ae530c034039c1643e3e3971f to your computer and use it in GitHub Desktop.
jupyterhub:
image: jupyterhub/jupyterhub:2.1.1
container_name: ${CONTAINER_NAME_PREFIX}jupyterhub
volumes:
- ./jupyterhub/jupyterhub_config.py:/etc/jupyterhub/jupyterhub_config.py
- ./jupyterhub/data:/home
working_dir: /home/jupyter
user: root
environment:
SERVER_HOST: ${SERVER_HOST}
REALM: ${REALM}
JUPYTERHUB_SECRET: ${PGADMIN_SECRET}
expose:
- "8000"
#command: >
# jupyterhub -f /etc/jupyterhub/jupyterhub_config.py
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment