90 lines
2.5 KiB
TOML
90 lines
2.5 KiB
TOML
packaging_format = 2
|
|
|
|
id = "snikket"
|
|
name = "Snikket"
|
|
description.en = "Chat that is simple, secure, and private"
|
|
# TODO: post_cert_update hook to steal certs
|
|
# TODO: Deal with /var/www/snikket
|
|
# TODO: Remove cert check (and import certs)
|
|
|
|
version = "2024.02.21~ynh1"
|
|
|
|
maintainers = ["NorbiPeti"]
|
|
|
|
[upstream]
|
|
license = "Apache"
|
|
website = "https://snikket.org/"
|
|
admindoc = "https://snikket.org/service/help/"
|
|
code = "https://github.com/snikket-im/snikket-server/"
|
|
fund = "https://snikket.org/donate/"
|
|
|
|
[integration]
|
|
yunohost = ">= 12.0"
|
|
architectures = "all"
|
|
multi_instance = false
|
|
|
|
ldap = false
|
|
|
|
sso = "not_relevant"
|
|
|
|
disk = "50M"
|
|
ram.build = "50M"
|
|
ram.runtime = "50M"
|
|
|
|
[install]
|
|
[install.domain]
|
|
# this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
type = "domain" # TODO: The web interface and XMPP domains should be separated
|
|
[install.admin]
|
|
type = "email"
|
|
ask.en = "Administrator E-mail"
|
|
help.en = "Provide an E-mail address where users can contact you"
|
|
[install.init_main_permission]
|
|
type = "group"
|
|
default = "all_users"
|
|
|
|
[resources]
|
|
[resources.sources.main]
|
|
url = "snikket/snikket-server:stable.20240926"
|
|
sha256 = "f33ad5ccddb52bb08059b0b7b0b38ab4d7ceb1304866b214ce554546efface06"
|
|
format = "docker"
|
|
prefetch = false
|
|
[resources.sources.prosody]
|
|
url = "https://hg.prosody.im/trunk/archive/3e6d5738ea09.tar.gz"
|
|
sha256 = "78a01a43499e685b64dd3730dac04821007b80ba1740381ff0b537f04e1a6523"
|
|
[resources.sources.snikket-portal]
|
|
url = "snikket/snikket-web-portal:stable.20240926"
|
|
sha256 = "5c6a4961ee88672ef4fe9fcb8171a68055b9133d500f563b541b4bb5a5edaf42"
|
|
format = "docker"
|
|
prefetch = false # Prefetch doesn't seem to be supported with Docker images
|
|
|
|
[resources.system_user]
|
|
|
|
[resources.install_dir]
|
|
|
|
[resources.data_dir]
|
|
|
|
[resources.ports] # TODO: TURN server ports
|
|
file.default=5000
|
|
file.exposed="TCP"
|
|
file.fixed=true
|
|
client.default=5222
|
|
client.exposed="TCP"
|
|
client.fixed=true
|
|
server.default=5269
|
|
server.exposed="TCP"
|
|
server.fixed=true
|
|
http.default=5280
|
|
main.exposed="TCP"
|
|
|
|
[resources.permissions]
|
|
main.url = "/"
|
|
main.additional_urls = [ "groups.__DOMAIN__/", "share.__DOMAIN__/" ]
|
|
|
|
[resources.apt]
|
|
packages = """
|
|
libicu-dev, libssl-dev,
|
|
lua-dbi-sqlite3, build-essential, python3-dev, python3-pip, python3-venv,
|
|
lua5.4, liblua5.4-dev,
|
|
lua5.4-expat, lua5.4-sec, lua5.4-unbound, qrencode
|
|
"""
|