snikket_ynh/manifest.toml

91 lines
2.5 KiB
TOML
Raw Normal View History

2024-05-18 15:16:58 +00:00
packaging_format = 2
2024-05-22 18:35:41 +00:00
id = "snikket"
name = "Snikket"
2024-05-24 23:35:07 +00:00
description.en = "Chat that is simple, secure, and private"
2024-05-25 01:19:34 +00:00
# TODO: post_cert_update hook to steal certs
# TODO: Deal with /var/www/snikket
# TODO: Remove cert check (and import certs)
2024-05-18 15:16:58 +00:00
2024-05-22 18:42:09 +00:00
version = "2024.02.21~ynh1"
2024-05-18 15:16:58 +00:00
2024-05-22 18:35:41 +00:00
maintainers = ["NorbiPeti"]
2024-05-18 15:16:58 +00:00
[upstream]
2024-05-22 18:35:41 +00:00
license = "Apache"
website = "https://snikket.org/"
2024-05-24 23:35:07 +00:00
admindoc = "https://snikket.org/service/help/"
2024-05-22 18:35:41 +00:00
code = "https://github.com/snikket-im/snikket-server/"
2024-05-24 23:35:07 +00:00
fund = "https://snikket.org/donate/"
2024-05-18 15:16:58 +00:00
[integration]
yunohost = ">= 12.0"
2024-05-18 15:16:58 +00:00
architectures = "all"
multi_instance = false
ldap = false
sso = "not_relevant"
2024-05-18 15:16:58 +00:00
disk = "50M"
ram.build = "50M"
ram.runtime = "50M"
[install]
2024-05-24 23:35:07 +00:00
[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
2024-05-24 23:35:07 +00:00
[install.admin]
2024-05-25 01:19:34 +00:00
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"
2024-05-18 15:16:58 +00:00
[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
2024-05-18 15:16:58 +00:00
[resources.system_user]
[resources.install_dir]
[resources.data_dir]
2024-05-26 22:08:46 +00:00
[resources.ports] # TODO: TURN server ports
2024-05-18 15:16:58 +00:00
file.default=5000
2024-05-26 22:08:46 +00:00
file.exposed="TCP"
file.fixed=true
2024-05-18 15:16:58 +00:00
client.default=5222
2024-05-26 22:08:46 +00:00
client.exposed="TCP"
client.fixed=true
2024-05-18 15:16:58 +00:00
server.default=5269
2024-05-26 22:08:46 +00:00
server.exposed="TCP"
server.fixed=true
http.default=5280
main.exposed="TCP"
2024-05-18 15:16:58 +00:00
[resources.permissions]
main.url = "/"
main.additional_urls = [ "groups.__DOMAIN__/", "share.__DOMAIN__/" ]
2024-05-18 15:16:58 +00:00
[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
"""