From 4b204b8a2917354e8e1bcf125506ac96dad5e8a0 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Mon, 8 Aug 2022 21:24:05 +1000 Subject: [PATCH] fixes and badges + webhook prep --- README.md | 12 +++++++++--- config/pialert.conf | 5 +++++ dockerfiles/README.md | 12 +++++++++--- front/php/templates/header.php | 3 +-- 4 files changed, 24 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6eb21842..ec20d688 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,15 @@ JavaScript)* # Docker image 🐳 [![Docker](https://github.com/jokob-sk/Pi.Alert/actions/workflows/docker.yml/badge.svg)](https://github.com/jokob-sk/Pi.Alert/actions/workflows/docker.yml) [![Docker Image Size](https://img.shields.io/docker/image-size/jokobsk/pi.alert?logo=Docker)](https://hub.docker.com/r/jokobsk/pi.alert) - - Docker Pulls - + + Docker Pulls + + + GitHub last commit + + + Docker last pushed + 🥇 Pi.Alert credit goes to [pucherot/Pi.Alert](https://github.com/pucherot/Pi.Alert).
🐳 Docker Image: [jokobsk/Pi.Alert](https://registry.hub.docker.com/r/jokobsk/pi.alert).
diff --git a/config/pialert.conf b/config/pialert.conf index 404aca20..d60329b9 100644 --- a/config/pialert.conf +++ b/config/pialert.conf @@ -31,6 +31,11 @@ REPORT_TO = 'user@gmail.com' REPORT_DEVICE_URL = 'http://pi.alert/deviceDetails.php?mac=' REPORT_DASHBOARD_URL = 'http://pi.alert/' +# Webhook settings +# ---------------------- +REPORT_WEBHOOK = True +WEBHOOK_URL = http://100.89.112.105:5678/webhook-test/a1db46b8-14bb-4651-a079-9ab5b01fada3 + # NTFY (https://ntfy.sh/) settings # ---------------------- REPORT_NTFY = False diff --git a/dockerfiles/README.md b/dockerfiles/README.md index 8cd5c096..51c2ad75 100644 --- a/dockerfiles/README.md +++ b/dockerfiles/README.md @@ -1,8 +1,14 @@ [![Docker](https://github.com/jokob-sk/Pi.Alert/actions/workflows/docker.yml/badge.svg)](https://github.com/jokob-sk/Pi.Alert/actions/workflows/docker.yml) [![Docker Image Size](https://img.shields.io/docker/image-size/jokobsk/pi.alert?logo=Docker)](https://hub.docker.com/r/jokobsk/pi.alert) - - Docker Pulls - + + Docker Pulls + + + GitHub last commit + + + Docker last pushed + # 🐳 A docker image for Pi.Alert diff --git a/front/php/templates/header.php b/front/php/templates/header.php index 9d64836a..7ea03369 100644 --- a/front/php/templates/header.php +++ b/front/php/templates/header.php @@ -91,8 +91,7 @@ require 'php/templates/language/'.$pia_lang_selected.'.php'; - - +