Add the hostname to the collector metadata

This commit is contained in:
Matthew Macdonald-Wallace
2022-11-23 12:16:18 +00:00
parent c2a72b9d0a
commit 5abc1d9df0
2 changed files with 7 additions and 3 deletions

View File

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