mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-06 17:15:38 -08:00
2
.devcontainer/Dockerfile
Normal file → Executable file
2
.devcontainer/Dockerfile
Normal file → Executable file
@@ -18,7 +18,7 @@
|
|||||||
# It reduces the chance of system hijacking and operates with all modern security protocols in place as is
|
# It reduces the chance of system hijacking and operates with all modern security protocols in place as is
|
||||||
# expected from a security appliance.
|
# expected from a security appliance.
|
||||||
#
|
#
|
||||||
# This file can be built with `docker compose -f docker-compose.yml up --build --force-recreate`
|
# This file can be built with `docker-compose -f docker-compose.yml up --build --force-recreate`
|
||||||
|
|
||||||
FROM alpine:3.22 AS builder
|
FROM alpine:3.22 AS builder
|
||||||
|
|
||||||
|
|||||||
0
.devcontainer/resources/devcontainer-overlay/services/config/nginx/netalertx.conf.template
Normal file → Executable file
0
.devcontainer/resources/devcontainer-overlay/services/config/nginx/netalertx.conf.template
Normal file → Executable file
0
.devcontainer/resources/devcontainer-overlay/services/config/php/conf.d/99-xdebug.ini
Normal file → Executable file
0
.devcontainer/resources/devcontainer-overlay/services/config/php/conf.d/99-xdebug.ini
Normal file → Executable file
0
.devcontainer/resources/devcontainer-overlay/services/config/python/backend-extra-launch-parameters
Normal file → Executable file
0
.devcontainer/resources/devcontainer-overlay/services/config/python/backend-extra-launch-parameters
Normal file → Executable file
0
.venv_import_check.py
Normal file → Executable file
0
.venv_import_check.py
Normal file → Executable file
@@ -15,7 +15,7 @@
|
|||||||
# It reduces the chance of system hijacking and operates with all modern security protocols in place as is
|
# It reduces the chance of system hijacking and operates with all modern security protocols in place as is
|
||||||
# expected from a security appliance.
|
# expected from a security appliance.
|
||||||
#
|
#
|
||||||
# This file can be built with `docker compose -f docker-compose.yml up --build --force-recreate`
|
# This file can be built with `docker-compose -f docker-compose.yml up --build --force-recreate`
|
||||||
|
|
||||||
FROM alpine:3.22 AS builder
|
FROM alpine:3.22 AS builder
|
||||||
|
|
||||||
|
|||||||
0
back/app.sql
Normal file → Executable file
0
back/app.sql
Normal file → Executable file
0
back/ieee-oui.txt
Normal file → Executable file
0
back/ieee-oui.txt
Normal file → Executable file
@@ -15,13 +15,13 @@ services:
|
|||||||
- NET_BIND_SERVICE # Required to bind to privileged ports (nbtscan)
|
- NET_BIND_SERVICE # Required to bind to privileged ports (nbtscan)
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- type: volume
|
- type: bind
|
||||||
source: netalertx_config
|
source: ${APP_DATA_LOCATION}/netalertx/config
|
||||||
target: /app/config
|
target: /app/config
|
||||||
read_only: false
|
read_only: false
|
||||||
|
|
||||||
- type: volume
|
- type: bind
|
||||||
source: netalertx_db
|
source: ${APP_DATA_LOCATION}/netalertx/db
|
||||||
target: /app/db
|
target: /app/db
|
||||||
read_only: false
|
read_only: false
|
||||||
|
|
||||||
@@ -30,15 +30,26 @@ services:
|
|||||||
target: /etc/localtime
|
target: /etc/localtime
|
||||||
read_only: true
|
read_only: true
|
||||||
|
|
||||||
|
# Retain logs - comment out tmpfs /app/log if you want to retain logs between container restarts
|
||||||
|
# - /path/on/host/log:/app/log
|
||||||
|
# Optional logs
|
||||||
|
# - type: bind
|
||||||
|
# source: ${LOGS_LOCATION}
|
||||||
|
# target: /app/log
|
||||||
|
# read_only: false
|
||||||
|
|
||||||
|
# Optional development mounts
|
||||||
|
- type: bind
|
||||||
|
source: ${DEV_LOCATION}
|
||||||
|
target: /app/front/plugins/custom
|
||||||
|
read_only: false
|
||||||
|
|
||||||
# Use a custom Enterprise-configured nginx config for ldap or other settings
|
# Use a custom Enterprise-configured nginx config for ldap or other settings
|
||||||
# - /custom-enterprise.conf:/services/config/nginx/conf.active/netalertx.conf:ro
|
# - /custom-enterprise.conf:/services/config/nginx/conf.active/netalertx.conf:ro
|
||||||
|
|
||||||
# Test your plugin on the production container
|
# Test your plugin on the production container
|
||||||
# - /path/on/host:/app/front/plugins/custom
|
# - /path/on/host:/app/front/plugins/custom
|
||||||
|
|
||||||
# Retain logs - comment out tmpfs /app/log if you want to retain logs between container restarts
|
|
||||||
# - /path/on/host/log:/app/log
|
|
||||||
|
|
||||||
# Tempfs mounts for writable directories in a read-only container and improve system performance
|
# Tempfs mounts for writable directories in a read-only container and improve system performance
|
||||||
tmpfs:
|
tmpfs:
|
||||||
# Speed up logging. This can be commented out to retain logs between container restarts
|
# Speed up logging. This can be commented out to retain logs between container restarts
|
||||||
@@ -53,10 +64,12 @@ services:
|
|||||||
- "/tmp:uid=20211,gid=20211,mode=1700,rw,noexec,nosuid,nodev,async,noatime,nodiratime"
|
- "/tmp:uid=20211,gid=20211,mode=1700,rw,noexec,nosuid,nodev,async,noatime,nodiratime"
|
||||||
environment:
|
environment:
|
||||||
LISTEN_ADDR: 0.0.0.0 # Listen for connections on all interfaces
|
LISTEN_ADDR: 0.0.0.0 # Listen for connections on all interfaces
|
||||||
PORT: 20211 # Application port
|
PORT: ${PORT} # Application port
|
||||||
GRAPHQL_PORT: 20212 # GraphQL API port
|
ALWAYS_FRESH_INSTALL: ${ALWAYS_FRESH_INSTALL} # Set to true to reset your config and database on each container start
|
||||||
ALWAYS_FRESH_INSTALL: false # Set to true to reset your config and database on each container start
|
|
||||||
NETALERTX_DEBUG: 0 # 0=kill all services and restart if any dies. 1 keeps running dead services.
|
NETALERTX_DEBUG: 0 # 0=kill all services and restart if any dies. 1 keeps running dead services.
|
||||||
|
TZ: ${TZ} # Timezone, e.g. Europe/Paris
|
||||||
|
# APP_CONF_OVERRIDE={"SCAN_SUBNETS":"['192.168.1.0/24 --interface=eth1']","GRAPHQL_PORT":"20223","UI_theme":"Light"} # (optional) app.conf settings override
|
||||||
|
# LOADED_PLUGINS=["DHCPLSS","PIHOLE","ASUSWRT","FREEBOX"] # (optional) default plugins to load
|
||||||
|
|
||||||
# Resource limits to prevent resource exhaustion
|
# Resource limits to prevent resource exhaustion
|
||||||
mem_limit: 2048m
|
mem_limit: 2048m
|
||||||
@@ -70,7 +83,7 @@ services:
|
|||||||
max-file: "3"
|
max-file: "3"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
# volumes:
|
||||||
netalertx_config:
|
# netalertx_config:
|
||||||
netalertx_db:
|
# netalertx_db:
|
||||||
|
|
||||||
|
|||||||
0
docker_build.log
Normal file → Executable file
0
docker_build.log
Normal file → Executable file
0
docs/DEV_PORTS_HOST_MODE.md
Normal file → Executable file
0
docs/DEV_PORTS_HOST_MODE.md
Normal file → Executable file
0
install/production-filesystem/README.md
Normal file → Executable file
0
install/production-filesystem/README.md
Normal file → Executable file
0
install/production-filesystem/app/log/IP_changes.log
Normal file → Executable file
0
install/production-filesystem/app/log/IP_changes.log
Normal file → Executable file
0
install/production-filesystem/app/log/app.log
Normal file → Executable file
0
install/production-filesystem/app/log/app.log
Normal file → Executable file
0
install/production-filesystem/app/log/app.php_errors.log
Normal file → Executable file
0
install/production-filesystem/app/log/app.php_errors.log
Normal file → Executable file
0
install/production-filesystem/app/log/app_front.log
Normal file → Executable file
0
install/production-filesystem/app/log/app_front.log
Normal file → Executable file
0
install/production-filesystem/app/log/crond.log
Normal file → Executable file
0
install/production-filesystem/app/log/crond.log
Normal file → Executable file
0
install/production-filesystem/app/log/db_is_locked.log
Normal file → Executable file
0
install/production-filesystem/app/log/db_is_locked.log
Normal file → Executable file
0
install/production-filesystem/app/log/execution_queue.log
Normal file → Executable file
0
install/production-filesystem/app/log/execution_queue.log
Normal file → Executable file
0
install/production-filesystem/app/log/plugins/.dockerignore
Normal file → Executable file
0
install/production-filesystem/app/log/plugins/.dockerignore
Normal file → Executable file
0
install/production-filesystem/app/log/report_output.html
Normal file → Executable file
0
install/production-filesystem/app/log/report_output.html
Normal file → Executable file
0
install/production-filesystem/app/log/report_output.json
Normal file → Executable file
0
install/production-filesystem/app/log/report_output.json
Normal file → Executable file
0
install/production-filesystem/app/log/report_output.txt
Normal file → Executable file
0
install/production-filesystem/app/log/report_output.txt
Normal file → Executable file
0
install/production-filesystem/app/log/stderr.log
Normal file → Executable file
0
install/production-filesystem/app/log/stderr.log
Normal file → Executable file
0
install/production-filesystem/app/log/stdout.log
Normal file → Executable file
0
install/production-filesystem/app/log/stdout.log
Normal file → Executable file
0
install/production-filesystem/build/init-backend.sh
Normal file → Executable file
0
install/production-filesystem/build/init-backend.sh
Normal file → Executable file
0
install/production-filesystem/build/init-crond.sh
Normal file → Executable file
0
install/production-filesystem/build/init-crond.sh
Normal file → Executable file
0
install/production-filesystem/build/init-nginx.sh
Normal file → Executable file
0
install/production-filesystem/build/init-nginx.sh
Normal file → Executable file
0
install/production-filesystem/build/init-php-fpm.sh
Normal file → Executable file
0
install/production-filesystem/build/init-php-fpm.sh
Normal file → Executable file
0
install/production-filesystem/entrypoint.sh
Normal file → Executable file
0
install/production-filesystem/entrypoint.sh
Normal file → Executable file
0
install/production-filesystem/services/config/nginx/README.md
Normal file → Executable file
0
install/production-filesystem/services/config/nginx/README.md
Normal file → Executable file
0
install/production-filesystem/services/config/nginx/conf.active/netalertx.conf
Normal file → Executable file
0
install/production-filesystem/services/config/nginx/conf.active/netalertx.conf
Normal file → Executable file
0
install/production-filesystem/services/config/nginx/fastcgi_params
Normal file → Executable file
0
install/production-filesystem/services/config/nginx/fastcgi_params
Normal file → Executable file
0
install/production-filesystem/services/config/nginx/mime.types
Normal file → Executable file
0
install/production-filesystem/services/config/nginx/mime.types
Normal file → Executable file
0
install/production-filesystem/services/config/nginx/netalertx.conf.template
Normal file → Executable file
0
install/production-filesystem/services/config/nginx/netalertx.conf.template
Normal file → Executable file
0
install/production-filesystem/services/config/php/php-fpm.conf
Normal file → Executable file
0
install/production-filesystem/services/config/php/php-fpm.conf
Normal file → Executable file
0
install/production-filesystem/services/config/php/php-fpm.d/www.conf
Normal file → Executable file
0
install/production-filesystem/services/config/php/php-fpm.d/www.conf
Normal file → Executable file
0
install/production-filesystem/services/config/python/backend-extra-launch-parameters
Normal file → Executable file
0
install/production-filesystem/services/config/python/backend-extra-launch-parameters
Normal file → Executable file
0
install/production-filesystem/services/scripts/check-cap.sh
Normal file → Executable file
0
install/production-filesystem/services/scripts/check-cap.sh
Normal file → Executable file
0
install/production-filesystem/services/scripts/check-first-run-config.sh
Normal file → Executable file
0
install/production-filesystem/services/scripts/check-first-run-config.sh
Normal file → Executable file
0
install/production-filesystem/services/scripts/check-first-run-db.sh
Normal file → Executable file
0
install/production-filesystem/services/scripts/check-first-run-db.sh
Normal file → Executable file
0
install/production-filesystem/services/scripts/check-mandatory-folders.sh
Normal file → Executable file
0
install/production-filesystem/services/scripts/check-mandatory-folders.sh
Normal file → Executable file
0
install/production-filesystem/services/scripts/check-permissions.sh
Normal file → Executable file
0
install/production-filesystem/services/scripts/check-permissions.sh
Normal file → Executable file
0
install/production-filesystem/services/scripts/check-ramdisk.sh
Normal file → Executable file
0
install/production-filesystem/services/scripts/check-ramdisk.sh
Normal file → Executable file
0
install/production-filesystem/services/scripts/check-root.sh
Normal file → Executable file
0
install/production-filesystem/services/scripts/check-root.sh
Normal file → Executable file
0
install/production-filesystem/services/scripts/check-storage.sh
Normal file → Executable file
0
install/production-filesystem/services/scripts/check-storage.sh
Normal file → Executable file
0
requirements.txt
Normal file → Executable file
0
requirements.txt
Normal file → Executable file
0
xdebug.out
Normal file → Executable file
0
xdebug.out
Normal file → Executable file
Reference in New Issue
Block a user