From 17f495c444cb61c6989420f0368f6450e0ccfa57 Mon Sep 17 00:00:00 2001 From: Adam Outler Date: Sat, 6 Dec 2025 07:38:26 -0500 Subject: [PATCH 1/4] Change copy command to install with permissions --- .../production-filesystem/entrypoint.d/15-first-run-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/production-filesystem/entrypoint.d/15-first-run-config.sh b/install/production-filesystem/entrypoint.d/15-first-run-config.sh index 4f906eb7..71a7dd64 100755 --- a/install/production-filesystem/entrypoint.d/15-first-run-config.sh +++ b/install/production-filesystem/entrypoint.d/15-first-run-config.sh @@ -7,7 +7,7 @@ if [ ! -f "${NETALERTX_CONFIG}/app.conf" ]; then >&2 echo "ERROR: Failed to create config directory ${NETALERTX_CONFIG}" exit 1 } - cp /app/back/app.conf "${NETALERTX_CONFIG}/app.conf" || { + install -m 600 -o ${NETALERTX_USER} -g ${NETALERTX_GROUP} /app/back/app.conf "${NETALERTX_CONFIG}/app.conf" || { >&2 echo "ERROR: Failed to copy default config to ${NETALERTX_CONFIG}/app.conf" exit 2 } From ecb5c1455b85ddb5e225708ee938e872f51feb82 Mon Sep 17 00:00:00 2001 From: Adam Outler Date: Sat, 6 Dec 2025 13:01:47 +0000 Subject: [PATCH 2/4] Add missing field to initial db --- .../production-filesystem/entrypoint.d/20-first-run-db.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install/production-filesystem/entrypoint.d/20-first-run-db.sh b/install/production-filesystem/entrypoint.d/20-first-run-db.sh index 905efcfb..de4d7b78 100755 --- a/install/production-filesystem/entrypoint.d/20-first-run-db.sh +++ b/install/production-filesystem/entrypoint.d/20-first-run-db.sh @@ -97,8 +97,9 @@ CREATE TABLE Devices ( devSite TEXT, devSSID TEXT, devSyncHubNode TEXT, - devSourcePlugin TEXT - , "devCustomProps" TEXT); + devSourcePlugin TEXT, + devFQDN TEXT, + "devCustomProps" TEXT); CREATE TABLE IF NOT EXISTS "Settings" ( "setKey" TEXT, "setName" TEXT, From 2c75285148fab6a77b1d7678ab1a84350228aa36 Mon Sep 17 00:00:00 2001 From: Adam Outler Date: Sat, 6 Dec 2025 13:05:47 +0000 Subject: [PATCH 3/4] Coderabit nitpick. --- .../production-filesystem/entrypoint.d/15-first-run-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/production-filesystem/entrypoint.d/15-first-run-config.sh b/install/production-filesystem/entrypoint.d/15-first-run-config.sh index 71a7dd64..1ca596d2 100755 --- a/install/production-filesystem/entrypoint.d/15-first-run-config.sh +++ b/install/production-filesystem/entrypoint.d/15-first-run-config.sh @@ -8,7 +8,7 @@ if [ ! -f "${NETALERTX_CONFIG}/app.conf" ]; then exit 1 } install -m 600 -o ${NETALERTX_USER} -g ${NETALERTX_GROUP} /app/back/app.conf "${NETALERTX_CONFIG}/app.conf" || { - >&2 echo "ERROR: Failed to copy default config to ${NETALERTX_CONFIG}/app.conf" + >&2 echo "ERROR: Failed to deploy default config to ${NETALERTX_CONFIG}/app.conf" exit 2 } RESET=$(printf '\033[0m') From c6de72467e487408a0c2ea3d5700dc3728c50ab8 Mon Sep 17 00:00:00 2001 From: Karthik Sankar Date: Sun, 7 Dec 2025 03:39:47 -0500 Subject: [PATCH 4/4] Update Docker image tag in documentation Remove -dev --- docs/DOCKER_COMPOSE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/DOCKER_COMPOSE.md b/docs/DOCKER_COMPOSE.md index f6fcea43..cc337dc6 100755 --- a/docs/DOCKER_COMPOSE.md +++ b/docs/DOCKER_COMPOSE.md @@ -17,7 +17,7 @@ services: netalertx: #use an environmental variable to set host networking mode if needed container_name: netalertx # The name when you docker contiainer ls - image: ghcr.io/jokob-sk/netalertx-dev:latest + image: ghcr.io/jokob-sk/netalertx:latest network_mode: ${NETALERTX_NETWORK_MODE:-host} # Use host networking for ARP scanning and other services read_only: true # Make the container filesystem read-only