1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00
synapse_ynh/manifest.toml

113 lines
3.9 KiB
TOML
Raw Normal View History

2023-10-31 22:19:40 +01:00
packaging_format = 2
id = "synapse"
name = "Synapse"
description.en = "Instant messaging server which uses Matrix"
description.fr = "Serveur de messagerie instantané basé sur Matrix"
version = "1.95.0~ynh1"
maintainers = ["Josué Tille"]
[upstream]
license = "Apache-2.0"
website = "https://matrix.org/"
code = "https://github.com/matrix-org/synapse"
2023-10-31 22:55:01 +01:00
admindoc = "https://matrix-org.github.io/synapse/latest/welcome_and_overview.html"
cpe = "cpe:2.3:a:matrix:synapse"
fund = "https://matrix.org/support/#"
2023-10-31 22:19:40 +01:00
[integration]
yunohost = ">= 11.2"
2023-10-31 22:55:01 +01:00
architectures = "all"
2023-10-31 22:19:40 +01:00
multi_instance = true
2023-10-31 22:55:01 +01:00
ldap = true
sso = "not_relevant"
disk = "250M"
ram.build = "20M"
ram.runtime = "200M"
2023-10-31 22:19:40 +01:00
[install]
[install.domain]
# this is a generic question - ask strings are automatically handled by Yunohost's core
type = "domain"
[install.server_name]
ask.en = "If your Synapse domain is a subdomain, you can choose a name for your Synapse server to have your Matrix user-ids looking like @user:domain.org instead of @user:synapse.domain.org"
ask.fr = "Si votre domaine pour Synapse est un sous-domaine, vous pouvez choisir un nom pour votre serveur Synapse afin que vos identifiants Matrix soient @utilisateur:domain.org plutôt que @utilisateur:synapse.domain.org"
type = "string"
example = "domain.org"
default = "Same than the domain"
[install.is_free_registration]
ask.en = "Is it a server with free registration?"
ask.fr = "Est-ce un serveur avec création de compte libre ?"
help.en = "A public server means that anybody will be able to register on this server."
help.fr = "Un serveur public signifie que n'importe qui pourra s'enregistrer sur ce serveur."
type = "boolean"
default = false
[install.jitsi_server]
ask.en = "Jitsi server address for conferencing?"
ask.fr = "Adresse du serveur Jitsi pour les conférences ?"
type = "string"
example = "domain.org"
default = "jitsi.riot.im"
[resources]
2023-10-31 22:55:01 +01:00
[resources.sources.prebuilt_bookworm]
armv7.url = "https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.95.0/matrix-synapse_1.95.0-bookworm-bin1_armv7l.tar.gz"
armv7.sha256 = "1a1d9248b139f67d23a89a20745d14d88c5b8627f76872d7f94f66952b5f1253"
2023-10-31 22:19:40 +01:00
2023-10-31 22:55:01 +01:00
[resources.sources.prebuilt_bullseye]
armv7.url = "https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.95.0/matrix-synapse_1.95.0-bullseye-bin1_armv7l.tar.gz"
armv7.sha256 = "97e9942bea9bcecc2a75228255a1824298300302559a9332e50816fa54193738"
2023-10-31 22:19:40 +01:00
[resources.system_user]
2023-10-31 22:55:01 +01:00
allow_email = true
home = "/opt/yunohost/matrix-__APP__"
2023-10-31 22:19:40 +01:00
[resources.install_dir]
2023-10-31 22:55:01 +01:00
dir = "/opt/yunohost/matrix-__APP__"
owner = "__APP__:rwX"
group = "__APP__:rX"
[resources.data_dir]
dir = "/home/yunohost.app/__APP__"
2023-10-31 22:19:40 +01:00
[resources.permissions]
2023-10-31 22:55:01 +01:00
main.url = "__DOMAIN__/_matrix/cas_server.php/login"
main.label = "Server SSO"
main.auth_header = true
main.show_tile=false
main.protected = true
server_api.url = "__DOMAIN__/_matrix"
server_api.label = "Server access for client apps"
admin_api.allowed = "visitors"
server_api.auth_header = false
server_api.show_tile = false
server_api.protected = true
admin_api.url = "__DOMAIN__/_synapse"
admin_api.label = "Admin API"
admin_api.allowed = "visitors"
admin_api.auth_header = false
admin_api.show_tile = false
admin_api.protected = true
2023-10-31 22:19:40 +01:00
[resources.ports]
synapse_tls.default = 8448
main.default = 8008
turnserver_tls.default = 5349
2023-10-31 22:55:01 +01:00
turnserver_alt_tls.default = 5350
2023-10-31 22:19:40 +01:00
cli.default = 5766
2023-10-31 22:55:01 +01:00
[resources.apt]
packages = ["coturn", "acl",
"python3-dev", "python3-venv", "python3-pip", "python3-setuptools", "python3-lxml",
"build-essential", "libffi-dev", "libssl-dev", "libxml2-dev", "libxslt1-dev", "zlib1g-dev", "libjpeg-dev", "libpq-dev"]
[resources.database]
type = "postgresql"