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