Embed env_vars guidance in docs

This commit is contained in:
Alexandre
2025-11-06 16:50:01 +01:00
parent e4a59af7a6
commit a928c8e9e2
293 changed files with 601 additions and 153 deletions

View File

@@ -1,3 +1,5 @@
- Added support for configuring extra environment variables via the `env_vars` add-on option alongside config.yaml. See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details.
## v0.8.1-12 (16-08-2025)
- Replace s6-based shutdown with standard command to avoid s6-svwait error

View File

@@ -74,7 +74,7 @@ expose_collector: false
This addon supports custom scripts and environment variables:
- **Custom scripts**: See [Running Custom Scripts in Addons](https://github.com/alexbelgium/hassio-addons/wiki/Running-custom-scripts-in-Addons)
- **Environment variables**: See [Add Environment Variables to your Addon](https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon)
- **env_vars option**: Use the add-on `env_vars` option to pass extra environment variables (uppercase or lowercase names). See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details.
## Installation
@@ -157,3 +157,5 @@ Create an issue on github, or ask on the [home assistant thread](https://communi
<https://github.com/alexbelgium/hassio-addons>
[repository]: https://github.com/alexbelgium/hassio-addons

View File

@@ -100,7 +100,7 @@ privileged:
- DAC_READ_SEARCH
schema:
env_vars:
- name: match(^[A-Z0-9_]+$)
- name: match(^[A-Za-z0-9_]+$)
value: str?
COLLECTOR_API_ENDPOINT: str?
COLLECTOR_HOST_ID: str?