2024-01-26 22:16:29 +01:00
|
|
|
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
|
|
|
|
|
|
|
packaging_format = 2
|
|
|
|
|
|
|
|
id = "discourse"
|
|
|
|
name = "Discourse"
|
|
|
|
description.en = "Discussion platform"
|
|
|
|
description.fr = "Plateforme de discussion"
|
|
|
|
|
2024-06-13 14:07:21 +02:00
|
|
|
version = "2.8.14~ynh4"
|
2024-01-26 22:16:29 +01:00
|
|
|
|
|
|
|
maintainers = ["JimboJoe"]
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
license = "GPL-2.0"
|
|
|
|
website = "http://Discourse.org"
|
|
|
|
demo = "https://try.discourse.org"
|
|
|
|
code = "https://github.com/discourse/discourse"
|
|
|
|
cpe = "cpe:2.3:a:discourse:discourse"
|
|
|
|
|
|
|
|
[integration]
|
|
|
|
yunohost = ">=11.2.12"
|
|
|
|
architectures = "all"
|
|
|
|
multi_instance = true
|
|
|
|
ldap = true
|
2024-03-19 23:25:57 +01:00
|
|
|
sso = false
|
2024-01-26 22:16:29 +01:00
|
|
|
|
|
|
|
disk = "50M"
|
|
|
|
ram.build = "50M"
|
|
|
|
ram.runtime = "1G"
|
|
|
|
|
|
|
|
[install]
|
|
|
|
[install.domain]
|
|
|
|
type = "domain"
|
|
|
|
|
|
|
|
[install.path]
|
|
|
|
type = "path"
|
|
|
|
default = "/forum"
|
|
|
|
|
|
|
|
[install.init_main_permission]
|
|
|
|
type = "group"
|
|
|
|
default = "visitors"
|
|
|
|
|
|
|
|
[install.admin]
|
|
|
|
type = "user"
|
|
|
|
|
|
|
|
[resources]
|
|
|
|
[resources.sources]
|
|
|
|
[resources.sources.main]
|
|
|
|
url = "https://github.com/discourse/discourse/archive/v2.8.14.tar.gz"
|
|
|
|
sha256 = "b4b9a2857515ab79b2bc71cc0bdd09f9bf749d506c095b76d86846c9adf62623"
|
|
|
|
|
2024-06-13 14:04:06 +02:00
|
|
|
autoupdate.strategy = "latest_github_tag"
|
|
|
|
|
|
|
|
[resources.sources.ldap-auth]
|
2024-06-13 14:05:16 +02:00
|
|
|
url = "https://github.com/jonmbake/discourse-ldap-auth/archive/refs/tags/v0.6.1.tar.gz"
|
|
|
|
sha256 = "04b380ff1b7c5a7eade24f4cc86c5fbcb9ac6c61393454dcd268c1ec14a81cdf"
|
2024-06-13 14:04:06 +02:00
|
|
|
|
|
|
|
autoupdate.strategy = "latest_github_tag"
|
|
|
|
autoupdate.upstream = "https://github.com/jonmbake/discourse-ldap-auth"
|
2024-01-26 22:16:29 +01:00
|
|
|
|
|
|
|
[resources.system_user]
|
|
|
|
|
|
|
|
[resources.install_dir]
|
|
|
|
|
|
|
|
[resources.permissions]
|
|
|
|
main.url = "/"
|
|
|
|
|
|
|
|
[resources.apt]
|
|
|
|
packages = [
|
|
|
|
"advancecomp",
|
|
|
|
"brotli",
|
|
|
|
"cmake",
|
|
|
|
"g++",
|
|
|
|
"gifsicle",
|
|
|
|
"imagemagick",
|
|
|
|
"jhead",
|
|
|
|
"jpegoptim",
|
|
|
|
"libapr1-dev",
|
|
|
|
"libcurl4-openssl-dev",
|
|
|
|
"libjemalloc-dev",
|
|
|
|
"libjemalloc2",
|
|
|
|
"libjpeg-turbo-progs",
|
|
|
|
"libpq-dev",
|
|
|
|
"libreadline-dev",
|
|
|
|
"libssl-dev",
|
|
|
|
"libtcmalloc-minimal4",
|
|
|
|
"libunwind-dev",
|
|
|
|
"libxml2-dev",
|
|
|
|
"libxslt1-dev",
|
|
|
|
"libyaml-dev",
|
|
|
|
"optipng",
|
|
|
|
"pngcrush",
|
|
|
|
"pngquant",
|
|
|
|
"vim",
|
|
|
|
"zlib1g-dev",
|
|
|
|
|
|
|
|
"postgresql",
|
|
|
|
"postgresql-client",
|
|
|
|
"postgresql-contrib",
|
|
|
|
"postgresql-server-dev-all",
|
|
|
|
]
|
|
|
|
|
|
|
|
extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main"
|
|
|
|
extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg"
|
|
|
|
extras.yarn.packages = "yarn"
|
|
|
|
|
|
|
|
[resources.database]
|
|
|
|
type = "postgresql"
|