jupyter docker #0

Supports: bionic xenial
Add to new model

Description

The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text.
This charm allows a user to specify a custom jupyter docker image.


Usage

This charm pulls and runs a docker image specified by the config jupyter-image. You can change the jupyter-image config at any time to have this charm pull and run the docker specified in the config.

To deploy this charm with your own jupyter notebook image, set the jupyter-image charm config at deployment time Ex:

juju deploy cs:~omnivector/jupyter-notebook-docker --config jupyter-image="omnivector/jupyter-base:0.0.1"

Following a successful deployment of this charm, access the gui in your browser at http://<unit-ip>:9000.

Extended Usage

Find a collection of Jupyter Notebook docker images compatible with this charm here.

Copyright

License

  • AGPLv3 (see LICENSE file)

Configuration

apt-key-server
(string) APT Key Server
hkp://keyserver.ubuntu.com:80
cuda_repo
(string) The cuda-repo package version to install.
10.0.130-1
docker-ce-package
(string) The pinned version of docker-ce package installed with nvidia-docker.
docker-ce=5:18.09.1~3-0~ubuntu-bionic
docker-opts
(string) Extra options to pass to the Docker daemon. e.g. --insecure-registry.
docker_runtime
(string) Docker runtime to install valid values are "upstream" (Docker PPA), "nvidia" (Nvidia PPA), "apt" (Ubuntu archive), "auto" (Nvidia PPA or Ubuntu archive, based on your hardware), or "custom" (must have set `docker_runtime_repo` URL, `docker_runtime_key_url` URL and `docker_runtime_package` name).
auto
docker_runtime_key_url
(string) Custom Docker repository validation key URL.
docker_runtime_package
(string) Custom Docker repository package name.
docker_runtime_repo
(string) Custom Docker repository, given in deb format. Use `{ARCH}` to determine architecture at runtime. Use `{CODE}` to set release codename. E.g. `deb [arch={ARCH}] https://download.docker.com/linux/ubuntu {CODE} stable`.
enable-cgroups
(boolean) Enable GRUB cgroup overrides cgroup_enable=memory swapaccount=1. WARNING changing this option will reboot the host - use with caution on production services.
http_proxy
(string) URL to use for HTTP_PROXY to be used by Docker. Useful in egress-filtered environments where a proxy is the only option for accessing the registry to pull images.
https_proxy
(string) URL to use for HTTPS_PROXY to be used by Docker. Useful in egress-filtered environments where a proxy is the only option for accessing the registry to pull images.
install_from_upstream
(boolean) Toggle installation from Ubuntu archive vs the Docker PPA (DEPRECATED; please use docker_runtime instead).
jupyter-image
(string) Jupyter notebook docker image.
omnivector/jupyter-base:0.0.1
jupyter-password
(string) Password for the Jupyter Notebook http frontend. If no password is supplied, the http endpoint will expose an unauthenticated interface.
changeme
jupyter-port
(int) Port to expose Jupyter Notebook on (make sure this matches the port in your dockerfile).
9999
nagios_context
(string) Used by the nrpe subordinate charms. A string that will be prepended to instance name to set the host name in nagios. So for instance the hostname would be something like: juju-myservice-0 If you're running multiple environments with the same services in them this allows you to differentiate between them.
juju
nagios_servicegroups
(string) A comma-separated list of nagios servicegroups. If left empty, the nagios_context will be used as the servicegroup
no_proxy
(string) Comma-separated list of destinations (either domain names or IP addresses) which should be accessed directly, rather than through the proxy defined in http_proxy or https_proxy. Must be less than 2023 characters long.
nvidia-container-runtime-package
(string) The pinned version of nvidia-container-runtime package.
nvidia-container-runtime=2.0.0+docker18.09.1-1
nvidia-docker-package
(string) The pinned version of nvidia-docker2 package.
nvidia-docker2=2.0.3+docker18.09.1-1