mirror of
https://github.com/YunoHost-Apps/scrutiny_ynh.git
synced 2024-09-03 20:16:24 +02:00
98 lines
3.2 KiB
TOML
98 lines
3.2 KiB
TOML
packaging_format = 2
|
|
|
|
id = "scrutiny"
|
|
name = "Scrutiny"
|
|
description.en = "WebUI for smartd S.M.A.R.T monitoring"
|
|
|
|
version = "0.7.3~ynh1"
|
|
|
|
maintainers = ["ewilly"]
|
|
|
|
[upstream]
|
|
license = "MIT"
|
|
admindoc = "https://github.com/AnalogJ/scrutiny/tree/master/docs"
|
|
code = "https://github.com/AnalogJ/scrutiny"
|
|
fund = "https://paypal.me/analogj/usd10"
|
|
|
|
[integration]
|
|
yunohost = ">= 11.2"
|
|
architectures = ["amd64", "arm64"]
|
|
multi_instance = false
|
|
ldap = "not_relevant"
|
|
sso = "not_relevant"
|
|
disk = "50M"
|
|
ram.build = "50M"
|
|
ram.runtime = "50M"
|
|
|
|
[install]
|
|
[install.domain]
|
|
type = "domain"
|
|
|
|
[install.path]
|
|
type = "path"
|
|
default = "/scrutiny"
|
|
|
|
[install.collector]
|
|
ask.en = "Should the collector be activated on this host?"
|
|
help.en = "Let it to true if yunohost is running on bare metal (i.e. not in a VM or in a LXC)"
|
|
type = "boolean"
|
|
default = true
|
|
|
|
[resources]
|
|
[resources.sources.web-linux]
|
|
in_subdir = false
|
|
amd64.url = "https://github.com/AnalogJ/scrutiny/releases/download/v0.7.3/scrutiny-web-linux-amd64"
|
|
amd64.sha256 = "42071cb77bd04a608d35e5a6ecd712bd2f3496d6a7e46374171a8fa8bfa255d4"
|
|
arm64.url = "https://github.com/AnalogJ/scrutiny/releases/download/v0.7.3/scrutiny-web-linux-arm64"
|
|
arm64.sha256 = "da23b73dea681604db62450996f46f8542ef813c9fcc7125f377ee1da6fecd3e"
|
|
|
|
autoupdate.strategy = "latest_github_release"
|
|
autoupdate.asset.amd64 = ".*\.scrutiny-web-linux-amd64"
|
|
autoupdate.asset.arm64 = ".*\.scrutiny-web-linux-arm64"
|
|
|
|
[resources.sources.collector-metrics]
|
|
in_subdir = false
|
|
amd64.url = "https://github.com/AnalogJ/scrutiny/releases/download/v0.7.3/scrutiny-collector-metrics-linux-amd64"
|
|
amd64.sha256 = "5dff7bc924a4003ae4e9d7c38832d87a931df74aec80b29dba929c18f2643f1b"
|
|
arm64.url = "https://github.com/AnalogJ/scrutiny/releases/download/v0.7.3/scrutiny-collector-metrics-linux-arm64"
|
|
arm64.sha256 = "515bd6011723c1fd83bd861ad057437e419e589c315c53556e356bd3b850b363"
|
|
|
|
autoupdate.strategy = "latest_github_release"
|
|
autoupdate.asset.amd64 = ".*\.scrutiny-collector-metrics-linux-amd64"
|
|
autoupdate.asset.arm64 = ".*\.scrutiny-collector-metrics-linux-arm64"
|
|
|
|
[resources.sources.web-frontend]
|
|
in_subdir = true
|
|
url = "https://github.com/AnalogJ/scrutiny/releases/download/v0.7.3/scrutiny-web-frontend.tar.gz"
|
|
sha256 = "4dc50dde48494a45c88ac4c8b37fe89038b3b64d7eb51636778e4194b32e328d"
|
|
|
|
autoupdate.strategy = "latest_github_release"
|
|
autoupdate.asset = ".*\.scrutiny-web-frontend.tar.gz"
|
|
|
|
[resources.system_user]
|
|
|
|
[resources.install_dir]
|
|
dir = "/var/www/__APP__"
|
|
owner = "__APP__:rwx"
|
|
group = "__APP__:rx"
|
|
|
|
[resources.permissions]
|
|
main.url = "/"
|
|
main.auth_header = false
|
|
main.show_tile = true
|
|
main.protected= true
|
|
main.allowed = "admins"
|
|
api.url = "/api"
|
|
api.auth_header = false
|
|
api.show_tile = false
|
|
api.protected= true
|
|
api.allowed = ["visitors", "all_users"]
|
|
|
|
[resources.ports]
|
|
main.default = 8080
|
|
|
|
[resources.apt]
|
|
packages = "smartmontools"
|
|
extras.influxdb.repo = "deb https://repos.influxdata.com/debian stable main"
|
|
extras.influxdb.key = "https://repos.influxdata.com/influxdata-archive_compat.key"
|
|
extras.influxdb.packages = "influxdb2"
|