mirror of
https://github.com/YunoHost-Apps/jupyterlab_ynh.git
synced 2024-09-03 19:26:35 +02:00
89 lines
2.1 KiB
TOML
89 lines
2.1 KiB
TOML
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
|
|
|
packaging_format = 2
|
|
|
|
id = "jupyterlab"
|
|
name = "JupyterLab"
|
|
description.en = "Code console environment for running Python code interactively"
|
|
description.fr = "Console de code pour exécuter du code Python de manière interactive"
|
|
|
|
version = "4.1.5~ynh1"
|
|
|
|
maintainers = ["kay0u"]
|
|
|
|
[upstream]
|
|
license = "BSD-3-Clause"
|
|
website = "https://jupyter.org"
|
|
demo = "https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/master?urlpath=lab/tree/demo"
|
|
admindoc = "https://jupyterlab.readthedocs.io/en/stable/"
|
|
code = "https://github.com/jupyterhub/jupyterhub"
|
|
|
|
[integration]
|
|
yunohost = ">= 11.2"
|
|
architectures = "all"
|
|
multi_instance = false
|
|
|
|
ldap = true
|
|
|
|
sso = false
|
|
|
|
disk = "50M"
|
|
ram.build = "50M"
|
|
ram.runtime = "50M"
|
|
|
|
[install]
|
|
[install.domain]
|
|
type = "domain"
|
|
|
|
[install.path]
|
|
type = "path"
|
|
default = "/jupyterlab"
|
|
|
|
[install.init_main_permission]
|
|
type = "group"
|
|
default = "visitors"
|
|
|
|
[install.admin]
|
|
type = "user"
|
|
|
|
[install.enable_terminal]
|
|
ask.en = "Enable terminal in the lab?"
|
|
ask.fr = "Activer le terminal dans le lab ?"
|
|
type = "boolean"
|
|
default = true
|
|
|
|
[resources]
|
|
[resources.sources.main]
|
|
url = "https://github.com/jupyterhub/jupyterhub/archive/refs/tags/4.1.5.tar.gz"
|
|
sha256 = "750511c4956e2926625b1c9a6cc0e6e82e090a8b682e631c8117b2e104f94723"
|
|
# Only used for autoupdate, code will checkout the commit
|
|
prefetch = false
|
|
|
|
autoupdate.strategy = "latest_github_tag"
|
|
|
|
[resources.system_user]
|
|
|
|
[resources.install_dir]
|
|
# Using /opt because /var/www has ACLs that prevent users to access it
|
|
dir = "/opt/__APP__"
|
|
|
|
[resources.ports]
|
|
main.default = 8080
|
|
hub.default = 8081
|
|
http_proxy.default = 8082
|
|
|
|
[resources.permissions]
|
|
main.url = "/"
|
|
|
|
[resources.apt]
|
|
packages = [
|
|
"python3-dev",
|
|
"python3-pip",
|
|
"python3-venv",
|
|
"pipenv",
|
|
]
|
|
|
|
[resources.apt.extras.yarn]
|
|
repo = "deb https://dl.yarnpkg.com/debian/ stable main"
|
|
key = "https://dl.yarnpkg.com/debian/pubkey.gpg"
|
|
packages = ["yarn"]
|