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 @@
## 2.18.0-1 (18-11-2025)
- Added `env_vars` option to allow custom environment variables from the add-on configuration.
## 2.18.0 (08-11-2025)
- Update to latest version from SignalK/signalk-server (changelog : https://github.com/SignalK/signalk-server/releases)
## "2.17.2" (18-10-2025)

View File

@@ -41,6 +41,10 @@ The installation of this add-on is pretty straightforward and not different in c
1. Check the logs of the add-on to see if everything went well.
1. Open the webUI and adapt the software options
### 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.
## Support
Create an issue on github

View File

@@ -21,6 +21,8 @@ image: ghcr.io/alexbelgium/signalk-{arch}
map:
- addon_config:rw
name: Signalk Server
options:
env_vars: []
ports:
10110/tcp: 10110
1458/udp: null
@@ -37,6 +39,10 @@ ports_description:
3000/tcp: web interface
3443/tcp: ssl web interface
8375/tcp: TCPSTREAM port
schema:
env_vars:
- name: match(^[A-Za-z0-9_]+$)
value: str?
privileged:
- SYS_ADMIN
- SYS_RAWIO
@@ -45,5 +51,5 @@ uart: true
udev: true
url: https://github.com/alexbelgium/hassio-addons
usb: true
version: "2.18.0"
version: "2.18.0-1"
webui: http://[HOST]:[PORT:3000]