IDR.idr_jupyter
IDR Jupyter (in development)
Setup a JupyterHub server in Docker. Uses DockerSpawner to spin up a dedicated container for each user.
Work in progress. This was moved from an IDR playbook so all vars still reference the IDR.
Dependencies
This role requires Docker to be installed.
For instance, you can use the openmicroscopy.docker role.
Role Variables
All variables are optional:
idr_jupyter_ip: Accessible IP of the server running JupyterHub, defaultansible_default_ipv4.address, if you have more than one NIC you are strongly recommended to set this, e.g.ansible_<NIC>.ipv4.addressidr_jupyter_prefix: The base prefix for JupyterHub, default/idr_jupyter_pull_latest: Always pull the latest notebook image, defaultFalseidr_jupyter_notebook_image: The Jupyter notebook docker imageidr_jupyter_hub_log_level: Log level for JupyterHubidr_jupyter_proxy_token: Persistent token to allow connections to persist over a restartidr_jupyter_cull_options: List of parameters to be passed to the cull idle servers service, see https://github.com/jupyterhub/jupyterhub/blob/0.9.2/examples/cull-idle/cull_idle_servers.pyidr_jupyter_notebook_remove_containers: Automatically stop and delete containers when the hub is restarted, defaultTrueidr_jupyter_notebook_system_uid: UID of the notebook Docker container, default1000idr_jupyter_notebook_volumes: JSON mapping of host volumes to internal notebook docker pathsidr_jupyter_users: List of users that can use JupyterHub, if empty all users will be allowed, default[root]idr_jupyter_admins: List of users with JupyterHub admin privileges, default[root]idr_jupyter_additional_config: Dictionary of additional JupyterHub configuration options
Authentication options: See defaults/main.yml for predefined options. Use idr_jupyter_additional_config for additional options
Example Playbook
See playbook.yml.
Once deployed you should be able to login to JupyterHub at http://localhost:8000, username: user, password ome.
Author Information
Install
ansible-galaxy install IDR.idr_jupyterLicense
bsd-2-clause
Downloads
8.1k
Owner
The Image Data Resource (IDR) is an online, public data repository seeks to store, integrate and serve image datasets from published scientific studies
