Merge pull request #1 from proffalken/feature/set_scrutiny_collector_hostname

Add the hostname to the Scrutiny collector metadata
This commit is contained in:
Matthew Macdonald-Wallace
2022-11-23 12:28:32 +00:00
committed by GitHub
2 changed files with 7 additions and 3 deletions

View File

@@ -44,7 +44,8 @@
"/dev/nvme2" "/dev/nvme2"
], ],
"environment": { "environment": {
"COLLECTOR_API_ENDPOINT": "http://localhost:8080" "COLLECTOR_API_ENDPOINT": "http://localhost:8080",
"COLLECTOR_HOST_ID": "home_assistant"
}, },
"ingress": true, "ingress": true,
"init": false, "init": false,
@@ -71,6 +72,7 @@
], ],
"schema": { "schema": {
"COLLECTOR_API_ENDPOINT": "str?", "COLLECTOR_API_ENDPOINT": "str?",
"COLLECTOR_HOST_ID": "str?",
"expose_config": "bool?", "expose_config": "bool?",
"Mode": "list(Collector+WebUI|Collector)?", "Mode": "list(Collector+WebUI|Collector)?",
"TZ": "str?", "TZ": "str?",

View File

@@ -7,7 +7,8 @@
"codenotary": "alexandrep.github@gmail.com", "codenotary": "alexandrep.github@gmail.com",
"description": "Scrutiny WebUI for smartd S.M.A.R.T monitoring (Full Access)", "description": "Scrutiny WebUI for smartd S.M.A.R.T monitoring (Full Access)",
"environment": { "environment": {
"COLLECTOR_API_ENDPOINT": "http://localhost:8080" "COLLECTOR_API_ENDPOINT": "http://localhost:8080",
"COLLECTOR_HOST_ID": "home_assistant"
}, },
"full_access": true, "full_access": true,
"image": "ghcr.io/alexbelgium/scrutiny-fa-{arch}", "image": "ghcr.io/alexbelgium/scrutiny-fa-{arch}",
@@ -36,6 +37,7 @@
], ],
"schema": { "schema": {
"COLLECTOR_API_ENDPOINT": "str?", "COLLECTOR_API_ENDPOINT": "str?",
"COLLECTOR_HOST_ID": "str?",
"Mode": "list(Collector+WebUI|Collector)?", "Mode": "list(Collector+WebUI|Collector)?",
"TZ": "str?", "TZ": "str?",
"Updates": "list(Hourly|Daily|Weekly)", "Updates": "list(Hourly|Daily|Weekly)",
@@ -45,5 +47,5 @@
"slug": "scrutiny_fa", "slug": "scrutiny_fa",
"udev": true, "udev": true,
"url": "https://github.com/AnalogJ/scrutiny", "url": "https://github.com/AnalogJ/scrutiny",
"version": "v0.5.0-5" "version": "v0.5.0-6"
} }