10 Commits

Author SHA1 Message Date
github-actions
c41987b514 GitHub bot: changelog 2026-01-06 13:05:25 +00:00
github-actions
e6d1f1359b GitHub bot: changelog 2026-01-06 13:05:24 +00:00
Alexandre
44b4de16ea Modify environment settings and version in config.yaml
Updated environment variables and version number.
2026-01-06 14:03:53 +01:00
Alexandre
f341f18cf9 Add config file and database file paths 2026-01-06 14:03:26 +01:00
github-actions
17a8127dab GitHub bot: changelog 2026-01-06 11:54:11 +00:00
Alexandre
d451cfbd07 Revert 2026-01-06 12:47:11 +01:00
Alexandre
63dde2b6be Revert
Removed UI credentials encoding from NGINX configuration.
2026-01-06 10:55:36 +01:00
Alexandre
b47e0d47d6 Revert 2026-01-06 10:54:00 +01:00
Alexandre
de737b0413 Fix nginx execution command in 99-run.sh 2026-01-06 10:16:25 +01:00
Alexandre
54fbd3eb84 Update ingress.conf 2026-01-06 10:09:50 +01:00
8 changed files with 19 additions and 13 deletions

View File

@@ -1,3 +1,5 @@
## 2.1.37-3 (06-01-2026)
- Minor bugs fixed
## 2.1.37-2 (05-01-2026)
- Align configuration mapping with addon_config and homeassistant_config

View File

@@ -33,4 +33,4 @@ schema:
slug: joal
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: 2.1.37-2
version: 2.1.37-3

View File

@@ -73,12 +73,6 @@ UIPATH=$(bashio::config 'ui_path')
#port=$(bashio::addon.port 80)
ingress_port=$(bashio::addon.ingress_port)
ingress_interface=$(bashio::addon.ip_address)
ui_credentials_json=$(jq -n --arg host "${host_ip}:${host_port}${ingress_url}/" \
--arg port "${host_port}" \
--arg pathPrefix "${UIPATH}" \
--arg secretToken "${TOKEN}" \
'{host:$host,port:$port,pathPrefix:$pathPrefix,secretToken:$secretToken}')
ui_credentials_encoded=$(printf '%s' "$ui_credentials_json" | jq -sRr @uri)
#################
# NGINX SETTING #
@@ -96,7 +90,6 @@ ui_credentials_encoded=$(printf '%s' "$ui_credentials_json" | jq -sRr @uri)
sed -i "s/%%port%%/${ingress_port}/g" /etc/nginx/servers/ingress.conf
sed -i "s/%%interface%%/${ingress_interface}/g" /etc/nginx/servers/ingress.conf
sed -i "s/%%path%%/${UIPATH}/g" /etc/nginx/servers/ingress.conf
sed -i "s|%%ui_credentials%%|${ui_credentials_encoded}|g" /etc/nginx/servers/ingress.conf
mkdir -p /var/log/nginx && touch /var/log/nginx/error.log
###############

View File

@@ -1,4 +1,3 @@
server {
listen %%interface%%:%%port%% default_server;

View File

@@ -1,3 +1,5 @@
## 25.11.29-2 (06-01-2026)
- Minor bugs fixed
## 25.11.29 (20-12-2025)
- Minor bugs fixed
## 25.10.1-4 (01-12-2025)

View File

@@ -11,6 +11,8 @@ environment:
NETALERTX_CONFIG: /config/config
NETALERTX_DB: /config/db
TMP_DIR: /tmp/tmp
NETALERTX_CONFIG_FILE: /config/config/app.conf
NETALERTX_DB_FILE: /config/db/app.db
hassio_api: true
host_network: true
image: ghcr.io/alexbelgium/netalertx-{arch}
@@ -50,4 +52,4 @@ slug: netalertx
tmpfs: true
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: 25.11.29
version: 25.11.29-2

View File

@@ -1,3 +1,5 @@
## 25.10.1-2 (06-01-2026)
- Minor bugs fixed
## 25.5.24 (01-12-2025)
- Minor bugs fixed
## 25.10.1-3 (29-11-2025)

View File

@@ -3,10 +3,16 @@ arch:
- amd64
description: "\U0001F5A7\U0001F50D WIFI / LAN scanner, intruder, and presence detector"
environment:
PGID: "102"
PGID: "20211"
PORT: "20211"
PUID: "102"
PUID: "20211"
TZ: Europe/Berlin
NETALERTX_DATA: /config
NETALERTX_CONFIG: /config/config
NETALERTX_DB: /config/db
TMP_DIR: /tmp/tmp
NETALERTX_CONFIG_FILE: /config/config/app.conf
NETALERTX_DB_FILE: /config/db/app.db
full_access: true
hassio_api: true
host_network: true
@@ -47,4 +53,4 @@ slug: netalertx_fa
tmpfs: true
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: 25.10.1
version: 25.10.1-2