From 37e8a79159b8354a9804c0fa74f50b617b7142cf Mon Sep 17 00:00:00 2001 From: Jokob-sk Date: Mon, 2 Jan 2023 20:31:17 +1100 Subject: [PATCH] PUSHPROD 23.01.02 --- back/pialert.py | 6 +++--- docker-compose.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/back/pialert.py b/back/pialert.py index 72714d1d..a72d3716 100755 --- a/back/pialert.py +++ b/back/pialert.py @@ -288,14 +288,14 @@ PHOLUS_TIMEOUT = 20 PHOLUS_FORCE = False PHOLUS_DAYS_DATA = 0 PHOLUS_RUN = 'once' -PHOLUS_RUN_TIMEOUT = 300 +PHOLUS_RUN_TIMEOUT = 600 PHOLUS_RUN_SCHD = '0 4 * * *' # Nmap settings # ---------------------- -NMAP_ACTIVE = False +NMAP_ACTIVE = True NMAP_TIMEOUT = 120 -NMAP_RUN = 'once' +NMAP_RUN = 'none' NMAP_RUN_SCHD = '0 2 * * *' NMAP_ARGS = '-p -10000' diff --git a/docker-compose.yml b/docker-compose.yml index 74d02ec6..082c5fac 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,9 +6,9 @@ services: network_mode: "host" restart: unless-stopped volumes: - - ${APP_DATA_LOCATION}/pialert/config2:/home/pi/pialert/config + - ${APP_DATA_LOCATION}/pialert/config:/home/pi/pialert/config # - ${APP_DATA_LOCATION}/pialert/db/pialert.db:/home/pi/pialert/db/pialert.db - - ${APP_DATA_LOCATION}/pialert/db2:/home/pi/pialert/db + - ${APP_DATA_LOCATION}/pialert/db:/home/pi/pialert/db # (optional) map an empty file with the name 'setting_darkmode' if you want to force the dark mode on container rebuilt - ${APP_DATA_LOCATION}/pialert/db/setting_darkmode:/home/pi/pialert/db/setting_darkmode # (optional) useful for debugging if you have issues setting up the container