Add env vars support to remaining add-ons

This commit is contained in:
Alexandre
2025-11-18 09:30:28 +01:00
parent e688a07546
commit f310b7faf9
33 changed files with 147 additions and 13 deletions

View File

@@ -1,3 +1,6 @@
## 1.0.5 (18-11-2025)
- Added `env_vars` option to allow passing custom environment variables from the add-on configuration.
## 1.0.4 (15-09-2025)
- Update to latest version from baldarn/whatsapper (changelog : https://github.com/baldarn/whatsapper/releases)

View File

@@ -52,4 +52,8 @@ comparison to installing any other Hass.io add-on.
1. Go to the webui, where you will initialize the app
1. Restart the addon, to apply any option that should be applied
### Environment variables
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.
[repository]: https://github.com/alexbelgium/hassio-addons

View File

@@ -6,11 +6,17 @@ map:
- addon_config:rw
- share:rw
name: Whatsapper
options:
env_vars: []
ports:
3000/tcp: 4000
ports_description:
3000/tcp: Api interface
schema:
env_vars:
- name: match(^[A-Za-z0-9_]+$)
value: str?
slug: whatsapper
udev: true
url: https://github.com/alexbelgium/hassio-addons/tree/master/whatsapper
version: 1.0.4
version: 1.0.5