2021-11-15 22:23:30 +00:00
|
|
|
# Jupyter Lab
|
|
|
|
|
|
|
|
Extensible environment for interactive and reproducible computing
|
|
|
|
|
|
|
|
<!-- metadata -->
|
|
|
|
|
2021-11-22 11:42:03 +00:00
|
|
|
* **Category**: Apps
|
|
|
|
* **Status**: 1
|
|
|
|
* **Image**: `jupyter/datascience-notebook`
|
|
|
|
* **Healthcheck**: No
|
|
|
|
* **Backups**: No
|
|
|
|
* **Email**: N/A
|
|
|
|
* **Tests**: No
|
|
|
|
* **SSO**: No
|
2021-11-15 22:23:30 +00:00
|
|
|
|
|
|
|
<!-- endmetadata -->
|
|
|
|
|
|
|
|
## Basic usage
|
|
|
|
|
|
|
|
1. Set up Docker Swarm and [`abra`]
|
|
|
|
2. Deploy [`coop-cloud/traefik`]
|
|
|
|
3. `abra app new ${REPO_NAME} --secrets` (optionally with `--pass` if you'd like
|
|
|
|
to save secrets in `pass`)
|
|
|
|
4. `abra app YOURAPPDOMAIN config` - be sure to change `$DOMAIN` to something that resolves to
|
|
|
|
your Docker swarm box
|
|
|
|
5. `abra app YOURAPPDOMAIN deploy`
|
|
|
|
6. Open the configured domain in your browser to finish set-up
|
|
|
|
|
|
|
|
Currently, you have to manually run a command to generate an initial
|
2021-11-21 19:23:23 +00:00
|
|
|
configuration (see #1):
|
2021-11-15 22:23:30 +00:00
|
|
|
|
|
|
|
`abra app YOURAPPDOMAIN run app jupyter notebook --generate-config`
|
|
|
|
|
2021-11-21 19:23:23 +00:00
|
|
|
And then run this command to get a token for initial login:
|
2021-11-15 22:23:30 +00:00
|
|
|
|
|
|
|
`abra app YOURAPPDOMAIN run app jupyter notebook list`
|
|
|
|
|
2021-11-21 19:23:23 +00:00
|
|
|
You can enter this token at the bottom of the login page to set a password
|
|
|
|
instead (see #2).
|
|
|
|
|
2021-11-15 22:23:30 +00:00
|
|
|
[`abra`]: https://git.coopcloud.tech/coop-cloud/abra
|
|
|
|
[`coop-cloud/traefik`]: https://git.coopcloud.tech/coop-cloud/traefik
|
|
|
|
cloud/traefik
|