mirror of
https://github.com/YunoHost-Apps/discourse_ynh.git
synced 2024-09-03 18:26:18 +02:00
6908ef7410
* Update manifest.toml: explicit dependency to redis-server * cleaning * Auto-update READMEs --------- Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org>
110 lines
2.5 KiB
TOML
110 lines
2.5 KiB
TOML
#: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"
|
|
|
|
version = "2.8.14~ynh5"
|
|
|
|
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.20"
|
|
architectures = "all"
|
|
multi_instance = true
|
|
ldap = true
|
|
sso = false
|
|
|
|
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"
|
|
|
|
autoupdate.strategy = "latest_github_tag"
|
|
|
|
[resources.sources.ldap-auth]
|
|
url = "https://github.com/jonmbake/discourse-ldap-auth/archive/refs/tags/v0.6.1.tar.gz"
|
|
sha256 = "04b380ff1b7c5a7eade24f4cc86c5fbcb9ac6c61393454dcd268c1ec14a81cdf"
|
|
|
|
autoupdate.strategy = "latest_github_tag"
|
|
autoupdate.upstream = "https://github.com/jonmbake/discourse-ldap-auth"
|
|
|
|
[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",
|
|
"redis-server",
|
|
"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"
|