mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
139 lines
4.4 KiB
TOML
139 lines
4.4 KiB
TOML
packaging_format = 2
|
|
|
|
id = "seafile"
|
|
name = "Seafile"
|
|
description.en = "Open Source Cloud Storage"
|
|
description.fr = "Stockage Cloud Open Source"
|
|
|
|
version = "11.0.6~ynh1"
|
|
|
|
maintainers = ["Josué Tille"]
|
|
|
|
[upstream]
|
|
license = "AGPL-3.0,Apache-2.0,MIT,GPL-2.0"
|
|
website = "https://www.seafile.com"
|
|
demo = "https://demo.seafile.com"
|
|
admindoc = "https://manual.seafile.com"
|
|
code = "https://github.com/haiwen/seafile-server"
|
|
cpe = "cpe:2.3:a:seafile:seafile"
|
|
|
|
[integration]
|
|
yunohost = ">= 11.2.8"
|
|
architectures = ["amd64", "arm64"]
|
|
multi_instance = false
|
|
ldap = true
|
|
sso = true
|
|
disk = "1G"
|
|
ram.build = "500M"
|
|
ram.runtime = "500M"
|
|
|
|
[install]
|
|
[install.domain]
|
|
# this is a generic question - ask strings are automatically handled by Yunohost's core
|
|
type = "domain"
|
|
|
|
[install.path]
|
|
# this is a generic question - ask strings are automatically handled by Yunohost's core
|
|
type = "path"
|
|
default = "/seafile"
|
|
|
|
[install.server_name]
|
|
ask.en = "Choose a name (3 - 15 letters or digits)"
|
|
ask.fr = "Choisissez un nom (3 - 15 letters or digits)"
|
|
type = "string"
|
|
example = "Seafile"
|
|
default = "Seafile"
|
|
|
|
[install.admin]
|
|
# this is a generic question - ask strings are automatically handled by Yunohost's core
|
|
type = "user"
|
|
|
|
[install.admin_password]
|
|
ask.en = "Enter a password for the administrator"
|
|
ask.fr = "Entrez un mot de passe pour l'administrateur"
|
|
type = "password"
|
|
|
|
[install.init_main_permission]
|
|
help.en = "If it's not public, everybody which want to access to any page of seafile need to be authenticated on the SSO. On the public mode anybody can access to the authentication page. The shared link will be olso accessible by anybody who has this link."
|
|
help.fr = "Si n'est pas publique, n'importe qui veux accéder à n'importe quelle page de seafile doit être authentifié dans le SSO. Dans le mode publique n'importe qui peut accéder à la page d'authentification de seafile. Les liens partagé seront aussi accessible par n'import qui qui à ce liens."
|
|
type = "group"
|
|
default = "visitors"
|
|
|
|
[resources]
|
|
[resources.system_user]
|
|
allow_email = true
|
|
home = "/opt/yunohost/__APP__"
|
|
|
|
[resources.install_dir]
|
|
dir = "/opt/yunohost/__APP__"
|
|
owner = "__APP__:rwX"
|
|
group = "__APP__:rX"
|
|
|
|
[resources.data_dir]
|
|
dir = "/home/yunohost.app/__APP__"
|
|
|
|
[resources.permissions]
|
|
main.url = "/"
|
|
|
|
file_server.url = "__DOMAIN__/seafhttp"
|
|
file_server.label = "File server"
|
|
file_server.allowed = "visitors"
|
|
file_server.auth_header = false
|
|
file_server.show_tile = false
|
|
file_server.protected = true
|
|
|
|
notification_server.url = "__DOMAIN__/notification"
|
|
notification_server.label = "Notification server"
|
|
notification_server.allowed = "visitors"
|
|
notification_server.auth_header = false
|
|
notification_server.show_tile = false
|
|
notification_server.protected = true
|
|
|
|
webdav.url = "__DOMAIN__/seafdav"
|
|
webdav.label = "Webdav"
|
|
webdav.allowed = "visitors"
|
|
webdav.auth_header = false
|
|
webdav.protected = true
|
|
webdav.show_tile = false
|
|
|
|
notification.url = "__DOMAIN__/notification"
|
|
notification.label = "Client-notification"
|
|
notification.allowed = "visitors"
|
|
notification.auth_header = false
|
|
notification.protected = true
|
|
notification.show_tile = false
|
|
|
|
media.url = "/media"
|
|
media.label = "Media"
|
|
media.allowed = "visitors"
|
|
media.auth_header = true
|
|
media.protected = true
|
|
media.show_tile = false
|
|
|
|
[resources.ports]
|
|
seahub.default = 8000
|
|
fileserver.default = 8082
|
|
notificationserver.default = 8083
|
|
webdav.default = 8080
|
|
|
|
[resources.sources.main]
|
|
format = "docker"
|
|
extract = true
|
|
prefetch = false
|
|
|
|
amd64.url = "seafileltd/seafile-mc:11.0.6"
|
|
amd64.sha256 = "be2599ce87ad47e5bf3fd4ce70b9d6a98290e0cffe9df5f45f6fac5d9ee3b8f8"
|
|
|
|
arm64.url = "seafileltd/seafile-mc:11.0.6"
|
|
arm64.sha256 = "01452c02a5866a7e7ced4448ca4e26b7e01f2a5b0ba56da62446a00343a0e1df"
|
|
|
|
[resources.apt]
|
|
packages = ["python3", "python3-venv", "python3-setuptools", "python3-pip", "python3-dev",
|
|
"python3-requests", "python3-scipy", "python3-matplotlib",
|
|
"mariadb-server", "libmariadb-dev-compat", "libmariadb-dev",
|
|
"ldap-utils", "libldap2-dev", "libsasl2-dev",
|
|
"memcached", "libmemcached-dev",
|
|
"ffmpeg"]
|
|
|
|
[resources.database]
|
|
type = "mysql"
|