manifest.toml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. #:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
  2. packaging_format = 2
  3. id = "flohmarkt"
  4. name = "flohmarkt"
  5. description.en = "A decentral federated small ads platform"
  6. version = "1.0~ynh1"
  7. maintainers = ["Chris Vogel"]
  8. [upstream]
  9. license = "AGPL-3.0"
  10. website = "https://codeberg.org/flohmarkt/flohmarkt"
  11. demo = "https://flohmarkt.ween.de/"
  12. admindoc = "https://codeberg.org/flohmarkt/flohmarkt/wiki"
  13. userdoc = "https://codeberg.org/flohmarkt/flohmarkt/wiki"
  14. code = "https://codeberg.org/flohmarkt/flohmarkt"
  15. # For example, for Nextcloud, the CPE is 'cpe:2.3:a:nextcloud:nextcloud' (no need to include the version number)
  16. # cpe = "does_not_exist_yet"
  17. # This is meant to be an URL where people can financially support this app, especially when its development is based
  18. # on volunteers and/or financed by its community. YunoHost may later advertise it in the webadmin.
  19. # fund = "???"
  20. [integration]
  21. yunohost = ">= 11.2"
  22. architectures = "all"
  23. multi_instance = true
  24. # the "ldap" key corresponds to wether or not a user *can* login on the app using
  25. # its YunoHost credentials.
  26. # https://codeberg.org/ChriChri/flohmarkt_ynh/issues/2
  27. ldap = "false"
  28. # the "sso" key corresponds to wether or not a user is *automatically logged-in*
  29. # on the app when logged-in on the YunoHost portal.
  30. # "Internally, SSOwat will on-the-fly inject HTTP Basic Auth Headers like Authorization:
  31. # Basic <base64credentials>."
  32. # https://yunohost.org/de/packaging_sso_ldap_integration#sso-integration
  33. # https://codeberg.org/ChriChri/flohmarkt_ynh/issues/3
  34. sso = "false"
  35. # FIXME: replace with an **estimate** minimum disk and RAM requirements. e.g. 20M, 400M, 1G...
  36. disk = "10M"
  37. ram.build = "50M"
  38. ram.runtime = "50M"
  39. [install]
  40. [install.domain]
  41. # ask admin on which domain to run flohmarkt
  42. type = "domain"
  43. [install.path]
  44. # ask admin under which path flohmarkt will be reachable
  45. # e.g. 'https://doma.in/path' - might not work, needs to be tested:
  46. # https://codeberg.org/ChriChri/flohmarkt_ynh/issues/4
  47. type = "path"
  48. default = "/"
  49. [install.init_main_permission]
  50. # who will be able to access the apps URL after installation?
  51. type = "group"
  52. default = "visitors"
  53. [install.password_couchdb_admin]
  54. # couchdb admin password
  55. type = "password"
  56. [resources]
  57. # See the packaging documentation for the full set
  58. # of explanation regarding the behavior and properties for each of those
  59. [resources.sources]
  60. [resources.sources.main]
  61. # This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with :
  62. # ynh_setup_source --dest_dir="$install_dir"
  63. # You can also define other assets than "main" and add --source_id="foobar" in the previous command
  64. url = "https://codeberg.org/flohmarkt/flohmarkt/archive/eaa868cf5f6fa39f022781ac43ebecad43c0f7b8.tar.gz"
  65. sha256 = "f01726f5ae98e68f379adb43dcffaa1aa7023164384d98a711e144189f61dbd6"
  66. # These infos are used by https://github.com/YunoHost/apps/blob/master/tools/autoupdate_app_sources/autoupdate_app_sources.py
  67. # to auto-update the previous asset urls and sha256sum + manifest version
  68. # assuming the upstream's code repo is on github and relies on tags or releases
  69. # See the 'sources' resource documentation for more details
  70. # autoupdate.strategy = "latest_github_tag"
  71. [resources.system_user]
  72. # This will provision/deprovision a unix system user named id form above → 'flohmarkt'
  73. [resources.install_dir]
  74. dir = "/opt/flohmarkt"
  75. [resources.data_dir]
  76. # This will create/remove the data dir as /home/yunohost.app/$app
  77. # and store the corresponding setting $data_dir
  78. [resources.permissions]
  79. # This will configure SSOwat permission for $domain/$path/
  80. # The initial allowed group of user is configured via the init_main_permission question
  81. # (public=visitors, private=all_users)
  82. # https://codeberg.org/ChriChri/flohmarkt_ynh/issues/5
  83. main.url = "/"
  84. [resources.ports]
  85. # This will pick a random port for reverse-proxying and store it as the $port setting
  86. # uvicorn running the flohmarkt app will be started listening to this port
  87. # if 'main.default' is already in use another random port will be used
  88. main.default = 8000
  89. [resources.apt]
  90. # python dependencies shall be installed in a venv using pip.
  91. packages = "python3-pip python3-full curl apt-transport-https gnupg"