diff --git a/Dockerfile b/Dockerfile index 1a857935..fd10842c 100755 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ COPY . ${INSTALL_DIR}/ RUN pip install requests paho-mqtt scapy cron-converter pytz json2table dhcp-leases pyunifi speedtest-cli chardet \ && bash -c "find ${INSTALL_DIR} -type d -exec chmod 750 {} \;" \ && bash -c "find ${INSTALL_DIR} -type f -exec chmod 640 {} \;" \ - && bash -c "find ${INSTALL_DIR} -type f \( -name '*.sh' -o -name '*.py' -o -name 'pialert-cli' -o -name 'speedtest-cli' \) -exec chmod 750 {} \;" + && bash -c "find ${INSTALL_DIR} -type f \( -name '*.sh' -o -name '*.py' -o -name 'speedtest-cli' \) -exec chmod 750 {} \;" # second stage FROM alpine:3.19 as runner diff --git a/docker-compose.yml b/docker-compose.yml index 55f3fe43..fee16695 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,10 +11,10 @@ services: network_mode: host # restart: unless-stopped volumes: - - ${APP_DATA_LOCATION}/netalertx_dev/config:/app/config - # - ${APP_DATA_LOCATION}/netalertx/config:/app/config - - ${APP_DATA_LOCATION}/netalertx_dev/db:/app/db - # - ${APP_DATA_LOCATION}/netalertx/db:/app/db + # - ${APP_DATA_LOCATION}/netalertx_dev/config:/app/config + - ${APP_DATA_LOCATION}/netalertx/config:/app/config + # - ${APP_DATA_LOCATION}/netalertx_dev/db:/app/db + - ${APP_DATA_LOCATION}/netalertx/db:/app/db # (optional) useful for debugging if you have issues setting up the container # - ${LOGS_LOCATION}:/app/front/log # --------------------------------------------------------------------------- diff --git a/front/php/templates/footer.php b/front/php/templates/footer.php index 205ac926..6529bb4e 100755 --- a/front/php/templates/footer.php +++ b/front/php/templates/footer.php @@ -22,7 +22,7 @@
sudo nmap -sn . -e eth1 192.168.1.0/24 and performs a separate scan for each interface specified in the SCAN_SUBNETS setting."
+ "string": "Arguments to run nmap-scan with. Recommended and tested only with the setting: sudo nmap -sn -PR -n . -e eth1 192.168.1.0/24 and performs a separate scan for each interface specified in the SCAN_SUBNETS setting."
}
]
}