diff --git a/.github/workflows/docker_prod.yml b/.github/workflows/docker_prod.yml index 675114a6..fe9a67c4 100755 --- a/.github/workflows/docker_prod.yml +++ b/.github/workflows/docker_prod.yml @@ -12,7 +12,8 @@ name: Publish Docker image on: release: types: [published] - + tags: + - '*.*.*' jobs: docker: runs-on: ubuntu-latest diff --git a/back/pialert.py b/back/pialert.py index b6736526..57313ab1 100755 --- a/back/pialert.py +++ b/back/pialert.py @@ -1873,7 +1873,7 @@ def cleanResult(str): str = str.replace(".lan", "") str = str.replace(".home", "") str = re.sub(r'-[a-fA-F0-9]{32}', '', str) # removing last part of e.g. Nest-Audio-ff77ff77ff77ff77ff77ff77ff77ff77 - str = str.replace(".", "") + # str = str.replace(".", "") return str diff --git a/docker-compose.yml b/docker-compose.yml index 7ffc77ab..b5750732 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,9 +7,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) 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/front/api/.gitignore b/front/api/.gitignore new file mode 100755 index 00000000..d6b7ef32 --- /dev/null +++ b/front/api/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore