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,4 +1,7 @@
## 5.14.26.1-2024-08-29-1 (18-11-2025)
- Added `env_vars` option to allow passing custom environment variables from the add-on configuration.
## 5.14.26.1-2024-08-29 (2024-08-29)
- Update to latest version from mbentley/omada-controller

View File

@@ -72,7 +72,7 @@ Webui can be found at `<your-ip>:8088` (HTTP) or `<your-ip>:8043` (HTTPS).
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)
- **Environment variables**: Use the add-on `env_vars` option and see [Add Environment Variables to your Addon](https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon) for details.
## Support

View File

@@ -75,6 +75,8 @@ map:
- addon_config:rw
- ssl:ro
name: Omada
options:
env_vars: []
ports:
29810/udp: 29810
29811/tcp: 29811
@@ -99,8 +101,12 @@ ports_description:
8088/tcp: web interface http
8843/tcp: portal https
8888/tcp: portal http
schema:
env_vars:
- name: match(^[A-Za-z0-9_]+$)
value: str?
slug: omada
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: 5.14.26.1-2024-08-17
version: 5.14.26.1-2024-08-29-1
webui: http://[HOST]:[PORT:8088]