mirror of
https://github.com/YunoHost-Apps/scrutiny_ynh.git
synced 2024-09-03 20:16:24 +02:00
101 lines
3.4 KiB
TOML
101 lines
3.4 KiB
TOML
packaging_format = 2
|
|
|
|
id = "scrutiny"
|
|
name = "Scrutiny"
|
|
description.en = "WebUI for smartd S.M.A.R.T monitoring"
|
|
|
|
version = "0.8.0~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]
|
|
|
|
[resources.sources.main]
|
|
in_subdir = false
|
|
rename = "scrutiny-web-linux"
|
|
amd64.url = "https://github.com/AnalogJ/scrutiny/releases/download/v0.8.0/scrutiny-web-linux-amd64"
|
|
amd64.sha256 = "a916c7bc7f61e5082b752f29a8cd44b35712c3e0cdf47fd24d16a0526240613a"
|
|
arm64.url = "https://github.com/AnalogJ/scrutiny/releases/download/v0.8.0/scrutiny-web-linux-arm64"
|
|
arm64.sha256 = "5abb083864c1f2f173ca35980a648c51a5796c9d01cfbff90c18c5e7903cb77c"
|
|
|
|
autoupdate.strategy = "latest_github_release"
|
|
autoupdate.asset.amd64 = "^scrutiny-web-linux-amd64$"
|
|
autoupdate.asset.arm64 = "^scrutiny-web-linux-arm64$"
|
|
|
|
[resources.sources.scrutiny-collector-metrics-linux]
|
|
in_subdir = false
|
|
amd64.url = "https://github.com/AnalogJ/scrutiny/releases/download/v0.8.0/scrutiny-collector-metrics-linux-amd64"
|
|
amd64.sha256 = "52cda4b5f6c9183996d2cde958d0cdccb329c9395f7609bf62e09d4113304804"
|
|
arm64.url = "https://github.com/AnalogJ/scrutiny/releases/download/v0.8.0/scrutiny-collector-metrics-linux-arm64"
|
|
arm64.sha256 = "953b56db7806f0cc543b37d6b19c3d72ca76b7580a5367a1a99f5d96285347db"
|
|
|
|
autoupdate.strategy = "latest_github_release"
|
|
autoupdate.asset.amd64 = "^scrutiny-collector-metrics-linux-amd64$"
|
|
autoupdate.asset.arm64 = "^scrutiny-collector-metrics-linux-arm64$"
|
|
|
|
[resources.sources.scrutiny-web-frontend]
|
|
in_subdir = true
|
|
url = "https://github.com/AnalogJ/scrutiny/releases/download/v0.8.0/scrutiny-web-frontend.tar.gz"
|
|
sha256 = "f627dec3f797a6d012ff34016788fbed092697b80feaf05e3ebaa0b3460718a0"
|
|
|
|
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"
|