mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-09 17:31:03 +01:00
Embed env_vars guidance in docs
This commit is contained in:
@@ -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.
|
||||
|
||||
## "2.2.1-2" (02-11-2025)
|
||||
- Minor bugs fixed
|
||||
## 2.2.1-2 (02-11-2025)
|
||||
|
||||
@@ -84,7 +84,7 @@ This addon supports mounting both local drives and remote SMB shares:
|
||||
This addon supports custom scripts and environment variables through the `addon_config` mapping:
|
||||
|
||||
- **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
|
||||
|
||||
@@ -109,3 +109,5 @@ Create an issue on github, or ask on the [home assistant thread](https://communi
|
||||
[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
|
||||
[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
|
||||
[armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg
|
||||
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ privileged:
|
||||
- DAC_READ_SEARCH
|
||||
schema:
|
||||
env_vars:
|
||||
- name: match(^[A-Z0-9_]+$)
|
||||
- name: match(^[A-Za-z0-9_]+$)
|
||||
value: str?
|
||||
DB_DATABASE_NAME: str
|
||||
DB_HOSTNAME: str
|
||||
|
||||
Reference in New Issue
Block a user