diff --git a/docker-compose.yml b/docker-compose.yml index 782409d7..b363fe78 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,9 +7,11 @@ services: network_mode: "host" restart: unless-stopped volumes: - - ${APP_DATA_LOCATION}/pialert_dev/config:/home/pi/pialert/config + # - ${APP_DATA_LOCATION}/pialert_dev/config:/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_dev/db:/home/pi/pialert/db + # - ${APP_DATA_LOCATION}/pialert_dev/db:/home/pi/pialert/db + - ${APP_DATA_LOCATION}/pialert/db:/home/pi/pialert/db # (optional) useful for debugging if you have issues setting up the container - ${LOGS_LOCATION}:/home/pi/pialert/front/log # DELETE START anyone trying to use this file: comment out / delete BELOW lines, they are only for development purposes diff --git a/pialert/database.py b/pialert/database.py index d39c7054..b3812cae 100755 --- a/pialert/database.py +++ b/pialert/database.py @@ -278,7 +278,7 @@ class DB(): # if nmapScanMissing == False: # # Re-creating Nmap_Scan table - # sql.execute("DROP TABLE Nmap_Scan;") + # self.sql.execute("DROP TABLE Nmap_Scan;") # nmapScanMissing = True if nmapScanMissing: