|
|
@@ -7,7 +7,7 @@ name = "Open WebUI"
|
|
|
description.en = "User-friendly AI Interface (Supports Ollama, OpenAI API, ...)"
|
|
|
description.fr = "Interface IA conviviale (Supporte Ollama, API OpenAI, ...)"
|
|
|
|
|
|
-version = "0.6.15~ynh1"
|
|
|
+version = "0.6.13~ynh1"
|
|
|
|
|
|
maintainers = ["DeMiro5001"]
|
|
|
|
|
|
@@ -26,95 +26,55 @@ architectures = "all"
|
|
|
multi_instance = true
|
|
|
|
|
|
ldap = false
|
|
|
+sso = false
|
|
|
|
|
|
-# FIXME: replace with true, false, or "not_relevant".
|
|
|
-# Not to confuse with the "ldap" key: the "sso" key corresponds to wether or not a user is *automatically logged-in*
|
|
|
-# on the app when logged-in on the YunoHost portal.
|
|
|
-sso = "?"
|
|
|
-
|
|
|
-# FIXME: replace with an **estimate** minimum disk and RAM requirements. e.g. 20M, 400M, 1G...
|
|
|
disk = "50M"
|
|
|
ram.build = "50M"
|
|
|
ram.runtime = "50M"
|
|
|
|
|
|
[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 = "/example"
|
|
|
+ default = "/openwebui"
|
|
|
|
|
|
[install.init_main_permission]
|
|
|
- # this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
|
- # This won't be saved as setting and will instead be used to initialize the SSOwat permission
|
|
|
type = "group"
|
|
|
- default = "visitors"
|
|
|
-
|
|
|
- [install.language]
|
|
|
- ask.en = "Choose the application language"
|
|
|
- ask.fr = "Choisissez la langue de l'application"
|
|
|
- type = "select"
|
|
|
- choices = ["fr", "en"]
|
|
|
- default = "fr"
|
|
|
+ default = "all_users"
|
|
|
|
|
|
[install.admin]
|
|
|
- # this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
|
type = "user"
|
|
|
|
|
|
[install.password]
|
|
|
- # this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
|
- # Note that user-provided passwords questions are not automatically saved as setting
|
|
|
help.en = "Use the help field to add an information for the admin about this question."
|
|
|
help.fr = "Utilisez le champ aide pour ajouter une information à l'intention de l'administrateur à propos de cette question."
|
|
|
type = "password"
|
|
|
|
|
|
[resources]
|
|
|
- # See the packaging documentation for the full set
|
|
|
- # of explanation regarding the behavior and properties for each of those
|
|
|
|
|
|
[resources.sources]
|
|
|
|
|
|
[resources.sources.main]
|
|
|
- # This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with :
|
|
|
- # ynh_setup_source --dest_dir="$install_dir"
|
|
|
- # You can also define other assets than "main" and add --source_id="foobar" in the previous command
|
|
|
- url = "https://github.com/foo/bar/archive/refs/tags/v1.2.3.tar.gz"
|
|
|
- sha256 = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
|
|
|
-
|
|
|
- # These infos are used by https://github.com/YunoHost/apps_tools/blob/main/autoupdate_app_sources/autoupdate_app_sources.py
|
|
|
- # to auto-update the previous asset urls and sha256sum + manifest version
|
|
|
- # assuming the upstream's code repo is on github and relies on tags or releases
|
|
|
- # See the 'sources' resource documentation for more details
|
|
|
+ url = "https://github.com/open-webui/open-webui/archive/refs/tags/v0.6.13.tar.gz"
|
|
|
+ sha256 = "fac82929489b70f38ee2bb2a1ce7857d431c94417f48142eb3574947b8beed8c"
|
|
|
|
|
|
- # autoupdate.strategy = "latest_github_tag"
|
|
|
+ autoupdate.strategy = "latest_github_tag"
|
|
|
|
|
|
[resources.system_user]
|
|
|
- # This will provision/deprovision a unix system user
|
|
|
|
|
|
[resources.install_dir]
|
|
|
- # This will create/remove the install dir as /var/www/$app
|
|
|
- # and store the corresponding setting $install_dir
|
|
|
|
|
|
[resources.data_dir]
|
|
|
- # This will create/remove the data dir as /home/yunohost.app/$app
|
|
|
- # and store the corresponding setting $data_dir
|
|
|
|
|
|
[resources.permissions]
|
|
|
- # This will configure SSOwat permission for $domain/$path/
|
|
|
- # The initial allowed group of user is configured via the init_main_permission question (public=visitors, private=all_users)
|
|
|
main.url = "/"
|
|
|
|
|
|
[resources.ports]
|
|
|
- # This will pick a random port for reverse-proxying and store it as the $port setting
|
|
|
|
|
|
[resources.apt]
|
|
|
- # This will automatically install/uninstall the following apt packages
|
|
|
- # and implicitly define the $phpversion setting as 8.0 (if phpX.Y-foobar dependencies are listed)
|
|
|
- packages = "mariadb-server, deb1, deb2, php8.3-foo, php8.3-bar"
|
|
|
+ packages = "mariadb-server"
|
|
|
|
|
|
[resources.database]
|
|
|
- # This will automatically provision/deprovison a MySQL DB and store the corresponding credentials in settings $db_user, $db_name, $db_pwd
|
|
|
type = "mysql"
|