manifest.toml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. #:schema https://raw.githubusercontent.com/YunoHost/apps/main/schemas/manifest.v2.schema.json
  2. packaging_format = 2
  3. id = "openwebui"
  4. name = "Open WebUI"
  5. description.en = "User-friendly AI Interface (Supports Ollama, OpenAI API, ...)"
  6. description.fr = "Interface IA conviviale (Supporte Ollama, API OpenAI, ...)"
  7. version = "0.6.15~ynh1"
  8. maintainers = ["DeMiro5001"]
  9. [upstream]
  10. license = "BSD 3-Clause"
  11. website = "https://openwebui.com/"
  12. admindoc = "https://docs.openwebui.com/getting-started/"
  13. userdoc = "https://docs.openwebui.com/category/-tutorials"
  14. code = "https://github.com/open-webui/open-webui"
  15. [integration]
  16. yunohost = ">= 12.0.9"
  17. helpers_version = "2.1"
  18. architectures = "all"
  19. multi_instance = true
  20. ldap = false
  21. # FIXME: replace with true, false, or "not_relevant".
  22. # Not to confuse with the "ldap" key: the "sso" key corresponds to wether or not a user is *automatically logged-in*
  23. # on the app when logged-in on the YunoHost portal.
  24. sso = "?"
  25. # FIXME: replace with an **estimate** minimum disk and RAM requirements. e.g. 20M, 400M, 1G...
  26. disk = "50M"
  27. ram.build = "50M"
  28. ram.runtime = "50M"
  29. [install]
  30. [install.domain]
  31. # this is a generic question - ask strings are automatically handled by YunoHost's core
  32. type = "domain"
  33. [install.path]
  34. # this is a generic question - ask strings are automatically handled by YunoHost's core
  35. type = "path"
  36. default = "/example"
  37. [install.init_main_permission]
  38. # this is a generic question - ask strings are automatically handled by YunoHost's core
  39. # This won't be saved as setting and will instead be used to initialize the SSOwat permission
  40. type = "group"
  41. default = "visitors"
  42. [install.language]
  43. ask.en = "Choose the application language"
  44. ask.fr = "Choisissez la langue de l'application"
  45. type = "select"
  46. choices = ["fr", "en"]
  47. default = "fr"
  48. [install.admin]
  49. # this is a generic question - ask strings are automatically handled by YunoHost's core
  50. type = "user"
  51. [install.password]
  52. # this is a generic question - ask strings are automatically handled by YunoHost's core
  53. # Note that user-provided passwords questions are not automatically saved as setting
  54. help.en = "Use the help field to add an information for the admin about this question."
  55. help.fr = "Utilisez le champ aide pour ajouter une information à l'intention de l'administrateur à propos de cette question."
  56. type = "password"
  57. [resources]
  58. # See the packaging documentation for the full set
  59. # of explanation regarding the behavior and properties for each of those
  60. [resources.sources]
  61. [resources.sources.main]
  62. # This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with :
  63. # ynh_setup_source --dest_dir="$install_dir"
  64. # You can also define other assets than "main" and add --source_id="foobar" in the previous command
  65. url = "https://github.com/foo/bar/archive/refs/tags/v1.2.3.tar.gz"
  66. sha256 = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
  67. # These infos are used by https://github.com/YunoHost/apps_tools/blob/main/autoupdate_app_sources/autoupdate_app_sources.py
  68. # to auto-update the previous asset urls and sha256sum + manifest version
  69. # assuming the upstream's code repo is on github and relies on tags or releases
  70. # See the 'sources' resource documentation for more details
  71. # autoupdate.strategy = "latest_github_tag"
  72. [resources.system_user]
  73. # This will provision/deprovision a unix system user
  74. [resources.install_dir]
  75. # This will create/remove the install dir as /var/www/$app
  76. # and store the corresponding setting $install_dir
  77. [resources.data_dir]
  78. # This will create/remove the data dir as /home/yunohost.app/$app
  79. # and store the corresponding setting $data_dir
  80. [resources.permissions]
  81. # This will configure SSOwat permission for $domain/$path/
  82. # The initial allowed group of user is configured via the init_main_permission question (public=visitors, private=all_users)
  83. main.url = "/"
  84. [resources.ports]
  85. # This will pick a random port for reverse-proxying and store it as the $port setting
  86. [resources.apt]
  87. # This will automatically install/uninstall the following apt packages
  88. # and implicitly define the $phpversion setting as 8.0 (if phpX.Y-foobar dependencies are listed)
  89. packages = "mariadb-server, deb1, deb2, php8.3-foo, php8.3-bar"
  90. [resources.database]
  91. # This will automatically provision/deprovison a MySQL DB and store the corresponding credentials in settings $db_user, $db_name, $db_pwd
  92. type = "mysql"