add ntfy service

This commit is contained in:
creme 2022-10-11 19:29:26 +02:00
parent bfd55de568
commit 2613288ee7
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
1 changed files with 7 additions and 1 deletions

View File

@ -12,7 +12,7 @@ DOMAIN='envs.net'
# define packages by category for sysinfo.php Page
services=(0x0 bbj cinny cryptpad drone element-web getwtxt gitea gophernicus ffsync hedgedoc hydrogen-web ipinfo
jetforce mariadb-server matrix mobilizon nginx openssh-server pleroma privatebin searx tt-rss thelounge znc)
jetforce mariadb-server matrix mobilizon nginx ntfy openssh-server pleroma privatebin searx tt-rss thelounge znc)
readarray -t sorted_services < <(printf '%s\n' "${services[@]}" | sort)
@ -245,6 +245,12 @@ cat<<EOM > "$TMP_JSON"
"url": "https://events.$DOMAIN/",
"server": "srv01.$DOMAIN"
},
"ntfy": {
"desc": "a simple HTTP-based pub-sub notification service."
"version": "-",
"url": "https://ntfy.$DOMAIN/",
"server": "core.$DOMAIN"
},
"pleroma": {
"desc": "federated social network - microblogging",
"version": "$(curl -fs https://pleroma."$DOMAIN"/api/v1/instance | jq -Mr .version | awk '{print $4}' | sed '$ s/)//')",