mirror of
https://github.com/YunoHost-Apps/lemmy_ynh.git
synced 2024-09-03 19:36:09 +02:00
114 lines
2.9 KiB
TOML
114 lines
2.9 KiB
TOML
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
|
|
|
packaging_format = 2
|
|
|
|
id = "lemmy"
|
|
name = "Lemmy"
|
|
description.en = "Link aggregator/Reddit clone for the fediverse"
|
|
description.fr = "Agrégateur de liens/clone Reddit pour le fedivers"
|
|
|
|
version = "0.19.5~ynh1"
|
|
|
|
maintainers = []
|
|
|
|
[upstream]
|
|
license = "GPL-3.0"
|
|
website = "https://join-lemmy.org/"
|
|
demo = "https://lemmy.ml/"
|
|
admindoc = "https://join-lemmy.org/docs/en/"
|
|
code = "https://github.com/LemmyNet/lemmy"
|
|
|
|
[integration]
|
|
yunohost = ">= 11.2"
|
|
architectures = ["amd64"]
|
|
multi_instance = false
|
|
|
|
ldap = false
|
|
|
|
sso = false
|
|
|
|
disk = "50M"
|
|
ram.build = "500M"
|
|
ram.runtime = "50M"
|
|
|
|
[install.domain]
|
|
type = "domain"
|
|
|
|
[install.init_main_permission]
|
|
type = "group"
|
|
default = "visitors"
|
|
|
|
[resources]
|
|
[resources.sources]
|
|
|
|
[resources.sources.main]
|
|
url = "https://github.com/LemmyNet/lemmy/archive/refs/tags/0.19.5.tar.gz"
|
|
sha256 = "55fc078688867ce662416f6eaf1fabe33d6a9551226abbc341ec4b42dcf78610"
|
|
# Actually not used, just here for autoupdate
|
|
prefetch = false
|
|
autoupdate.strategy = "latest_github_release"
|
|
|
|
[resources.sources.docker-image-extract]
|
|
url = "https://github.com/jjlin/docker-image-extract/archive/4273b2796da5055e431b4db5efe29a71bba12b45.tar.gz"
|
|
sha256 = "8e582bb186bdb1053051ad6be8829ebb4af418cb4e43005efc9d7749e0269cba"
|
|
|
|
autoupdate.upstream = "https://github.com/jjlin/docker-image-extract"
|
|
autoupdate.strategy = "latest_github_commit"
|
|
|
|
[resources.sources.lemmy-translations]
|
|
url = "https://github.com/LemmyNet/lemmy-translations/archive/73f8fcaae7d76a596cad281d70fe6917912e0a8e.tar.gz"
|
|
sha256 = "6eadc85c58128fb991645a6b575e6959bc4c756f2e95770e8789934c476dc45c"
|
|
|
|
autoupdate.upstream = "https://github.com/LemmyNet/lemmy-translations/"
|
|
autoupdate.strategy = "latest_github_commit"
|
|
|
|
[resources.ports]
|
|
main.default = 8536
|
|
pictrs.default = 8080
|
|
ui.default = 1235
|
|
|
|
[resources.system_user]
|
|
allow_email = true
|
|
|
|
[resources.install_dir]
|
|
|
|
[resources.data_dir]
|
|
subdirs = ["pictrs-data", "sled", "exports", "magick"]
|
|
|
|
[resources.permissions]
|
|
main.url = "/"
|
|
|
|
pictrs.url = "/pictrs"
|
|
pictrs.allowed = "visitors"
|
|
pictrs.show_tile = false
|
|
pictrs.protected = true
|
|
|
|
api.url = "/api"
|
|
api.allowed = "visitors"
|
|
api.auth_header = false
|
|
api.show_tile = false
|
|
api.protected = true
|
|
|
|
inbox.url = "/inbox"
|
|
inbox.allowed = "visitors"
|
|
inbox.auth_header = false
|
|
inbox.show_tile = false
|
|
inbox.protected = true
|
|
|
|
[resources.apt]
|
|
packages = [
|
|
"postgresql",
|
|
"espeak",
|
|
"rsync",
|
|
"libfuse2",
|
|
"libimage-exiftool-perl",
|
|
"ffmpeg",
|
|
]
|
|
|
|
[resources.apt.extras.yarn]
|
|
repo = "deb https://dl.yarnpkg.com/debian/ stable main"
|
|
key = "https://dl.yarnpkg.com/debian/pubkey.gpg"
|
|
packages = "yarn"
|
|
|
|
[resources.database]
|
|
type = "postgresql"
|