2024-01-15 22:17:38 +01:00
|
|
|
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
|
|
|
|
|
|
|
packaging_format = 2
|
|
|
|
|
|
|
|
id = "snserver"
|
|
|
|
name = "Standard Notes Server"
|
|
|
|
description.en = "The Standard Notes syncing server. An end-to-end encrypted note-taking app."
|
|
|
|
|
|
|
|
version = "2023.01.26~ynh2"
|
|
|
|
|
|
|
|
maintainers = ["Fabian Wilkens"]
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
license = "AGPL-3.0-or-later"
|
|
|
|
website = "https://standardnotes.org"
|
|
|
|
demo = "https://standardnotes.org/demo"
|
|
|
|
admindoc = "https://docs.standardnotes.org"
|
|
|
|
userdoc = "https://standardnotes.com/help"
|
|
|
|
code = "https://github.com/standardnotes/server"
|
|
|
|
|
|
|
|
[integration]
|
|
|
|
yunohost = ">= 11.2.12"
|
|
|
|
architectures = "all"
|
|
|
|
multi_instance = true
|
|
|
|
ldap = false
|
|
|
|
sso = false
|
|
|
|
disk = "50M" # FIXME: replace with an **estimate** minimum disk requirement. e.g. 20M, 400M, 1G, ...
|
|
|
|
ram.build = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
|
|
|
|
ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
|
|
|
|
|
|
|
|
[install]
|
|
|
|
[install.domain]
|
|
|
|
type = "domain"
|
|
|
|
|
|
|
|
[install.path]
|
|
|
|
type = "path"
|
|
|
|
default = "/"
|
|
|
|
|
2024-01-15 22:37:42 +01:00
|
|
|
[install.init_main_permission]
|
|
|
|
type = "group"
|
|
|
|
default = "visitors"
|
|
|
|
|
2024-01-15 22:17:38 +01:00
|
|
|
[resources]
|
|
|
|
[resources.sources.main]
|
|
|
|
url = "https://github.com/standardnotes/server/archive/5ea91aeafc6c986391e6f4acc5cad20584a90828.tar.gz"
|
|
|
|
sha256 = "87d98db93233f88da30e5b89fa9df02bc0d2ee2ddadc9087a42b90987ec3c581"
|
|
|
|
autoupdate.strategy = "latest_github_release"
|
|
|
|
autoupdate.asset = "tarball"
|
|
|
|
|
|
|
|
[resources.system_user]
|
|
|
|
|
|
|
|
[resources.install_dir]
|
|
|
|
|
|
|
|
[resources.data_dir]
|
|
|
|
subdirs = ["uploads"]
|
|
|
|
|
|
|
|
[resources.permissions]
|
|
|
|
main.url = "/"
|
|
|
|
|
|
|
|
[resources.ports]
|
|
|
|
api_gateway.default = 3000
|
|
|
|
auth.default = 3001
|
|
|
|
auth_worker.default = 3002
|
|
|
|
files.default = 3003
|
|
|
|
syncing_server.default = 3004
|
|
|
|
syncing_server_worker.default = 3005
|
|
|
|
workspace.default = 3006
|
|
|
|
|
|
|
|
[resources.apt]
|
2024-01-15 22:37:42 +01:00
|
|
|
packages = [
|
|
|
|
"mariadb-server",
|
|
|
|
]
|
|
|
|
|
2024-01-15 22:17:38 +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 = "mysql"
|