2024-03-24 20:33:20 +01:00
|
|
|
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
|
|
|
|
2024-02-22 19:45:40 +01:00
|
|
|
packaging_format = 2
|
|
|
|
|
|
|
|
id = "glitchsoc"
|
|
|
|
name = "Glitch-Soc"
|
|
|
|
description.en = "Libre and federated social network, fork of Mastodon"
|
|
|
|
description.fr = "Réseau social libre et fédéré, scission de Mastodon"
|
|
|
|
|
2024-08-17 11:06:46 +02:00
|
|
|
version = "2024.08.16~ynh1"
|
2024-02-22 19:45:40 +01:00
|
|
|
|
|
|
|
maintainers = ["Tagada"]
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
license = "AGPL-3.0-or-later"
|
|
|
|
website = "https://glitch-soc.github.io/docs/"
|
|
|
|
code = "https://github.com/glitch-soc/mastodon"
|
|
|
|
|
|
|
|
[integration]
|
2024-08-28 17:20:52 +02:00
|
|
|
yunohost = ">=11.2.30"
|
|
|
|
helpers_version = "2.1"
|
2024-02-22 19:45:40 +01:00
|
|
|
architectures = "all"
|
|
|
|
multi_instance = true
|
2024-02-22 22:04:18 +01:00
|
|
|
|
2024-02-22 19:45:40 +01:00
|
|
|
ldap = true
|
2024-02-22 22:04:18 +01:00
|
|
|
|
|
|
|
sso = false
|
|
|
|
|
2024-02-22 19:45:40 +01:00
|
|
|
disk = "2G"
|
2024-02-22 22:04:18 +01:00
|
|
|
ram.build = "1G"
|
|
|
|
ram.runtime = "500M"
|
2024-02-22 19:45:40 +01:00
|
|
|
|
|
|
|
[install]
|
|
|
|
[install.domain]
|
|
|
|
type = "domain"
|
|
|
|
|
|
|
|
[install.init_main_permission]
|
|
|
|
type = "group"
|
|
|
|
default = "visitors"
|
|
|
|
|
|
|
|
[install.language]
|
|
|
|
ask.en = "Choose the application language"
|
|
|
|
ask.fr = "Choisissez la langue de l'application"
|
2023-08-01 05:30:58 +02:00
|
|
|
type = "select"
|
2024-02-22 19:45:40 +01:00
|
|
|
choices = ["en_EN", "fr_FR"]
|
|
|
|
default = "fr_FR"
|
|
|
|
|
2024-02-22 22:04:18 +01:00
|
|
|
[install.admin]
|
|
|
|
type = "user"
|
|
|
|
|
2024-02-22 19:45:40 +01:00
|
|
|
[resources]
|
2024-02-22 22:04:18 +01:00
|
|
|
[resources.sources]
|
2024-02-22 19:45:40 +01:00
|
|
|
[resources.sources.main]
|
2024-08-12 03:34:54 +02:00
|
|
|
url = "https://github.com/glitch-soc/mastodon/archive/9edf98c02a0114c73f3099c99326df79abed3a46.tar.gz"
|
|
|
|
sha256 = "c181317e67f656acd53476bbd37ebfb32664f59f35497086d04dcc699b6f2dc6"
|
2024-02-22 19:45:40 +01:00
|
|
|
|
|
|
|
autoupdate.strategy = "latest_github_commit"
|
|
|
|
|
|
|
|
[resources.system_user]
|
|
|
|
allow_email = true
|
|
|
|
|
|
|
|
[resources.install_dir]
|
2024-09-01 19:33:41 +02:00
|
|
|
group = "www-data:r-x"
|
2024-02-22 19:45:40 +01:00
|
|
|
|
|
|
|
[resources.permissions]
|
|
|
|
main.url = "/"
|
|
|
|
|
|
|
|
api.url = "/api"
|
|
|
|
api.allowed = "visitors"
|
|
|
|
api.auth_header = false
|
|
|
|
api.show_tile = false
|
|
|
|
api.protected = true
|
|
|
|
|
|
|
|
[resources.ports]
|
|
|
|
web.default = 3000
|
|
|
|
stream.default = 4000
|
|
|
|
|
|
|
|
[resources.apt]
|
2024-02-22 22:04:18 +01:00
|
|
|
packages = "imagemagick, ffmpeg, libpq-dev, libxml2-dev, libxslt1-dev, file, git, git-core, g++, libprotobuf-dev, protobuf-compiler, pkg-config, gcc, autoconf, bison, build-essential, libssl-dev, libyaml-dev, libreadline6-dev, zlib1g-dev, libncurses5-dev, libffi-dev, libgdbm6, libgdbm-dev, redis-tools, redis-server, postgresql, postgresql-contrib, libidn11-dev, libicu-dev, libjemalloc-dev, curl, apt-transport-https"
|
2024-02-22 19:45:40 +01:00
|
|
|
|
|
|
|
[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"
|