Merge branch 'npty-feat/add-ntfy'

This commit is contained in:
Nicolas Meienberger 2023-09-27 21:38:58 +02:00
commit 02217c0101
5 changed files with 64 additions and 0 deletions

View File

@ -97,6 +97,7 @@ This is the official repository for the Tipi App Store. It contains all the apps
- [Nitter](https://github.com/zedeus/nitter) - Alternative Twitter front-end
- [NocoDB](https://github.com/nocodb/nocodb) - Open Source Airtable Alternative
- [Node-RED](https://github.com/node-red/node-red) - Low-code programming for event-driven applications
- [Ntfy](https://github.com/binwiederhier/ntfy) - A Straightforward Notification service that operates over HTTP
- [Obsidian LiveSync](https://github.com/vrtmrz/self-hosted-livesync-server) - LiveSync couchdb backend for Obsidian
- [OneDev](https://code.onedev.io/onedev/server) - Self-hosted Git Server with Kanban and CI/CD
- [Openbooks](https://github.com/evan-buss/openbooks) - Search and Download eBooks

17
apps/ntfy/config.json Normal file
View File

@ -0,0 +1,17 @@
{
"$schema": "../schema.json",
"name": "Ntfy",
"available": true,
"exposable": true,
"port": 8166,
"id": "ntfy",
"tipi_version": 1,
"version": "2.7.0",
"categories": ["utilities"],
"description": "Send push notifications to any devices using a simple HTTP PUT or POST request.",
"short_desc": "Ntfy, a simple server for sending and receiving notification messages.",
"author": "https://github.com/binwiederhier",
"source": "https://github.com/binwiederhier/ntfy",
"website": "https://ntfy.sh/",
"form_fields": []
}

View File

@ -0,0 +1,43 @@
version: '3.7'
services:
ntfy:
container_name: ntfy
image: binwiederhier/ntfy:v2.7.0
environment:
- NTFY_BASE_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}
- NTFY_UPSTREAM_BASE_URL=https://ntfy.sh
command: serve
volumes:
- '${APP_DATA_DIR}/data/cache:/var/cache/ntfy'
- '${APP_DATA_DIR}/data/config:/etc/ntfy'
ports:
- ${APP_PORT}:80
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.ntfy-web-redirect.redirectscheme.scheme: https
traefik.http.services.ntfy.loadbalancer.passhostheader: true
traefik.http.services.ntfy.loadbalancer.server.port: 80
# Web
traefik.http.routers.ntfy-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.ntfy-insecure.entrypoints: web
traefik.http.routers.ntfy-insecure.service: ntfy
traefik.http.routers.ntfy-insecure.middlewares: ntfy-web-redirect
# Websecure
traefik.http.routers.ntfy.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.ntfy.entrypoints: websecure
traefik.http.routers.ntfy.service: ntfy
traefik.http.routers.ntfy.tls.certresolver: myresolver
# Local domain
traefik.http.routers.ntfy-local-insecure.rule: Host(`ntfy.${LOCAL_DOMAIN}`)
traefik.http.routers.ntfy-local-insecure.entrypoints: web
traefik.http.routers.ntfy-local-insecure.service: ntfy
traefik.http.routers.ntfy-local-insecure.middlewares: ntfy-web-redirect
# Local domain secure
traefik.http.routers.ntfy-local.rule: Host(`ntfy.${LOCAL_DOMAIN}`)
traefik.http.routers.ntfy-local.entrypoints: websecure
traefik.http.routers.ntfy-local.service: ntfy
traefik.http.routers.ntfy-local.tls: true

View File

@ -0,0 +1,3 @@
# Ntfy: HTTP-Based Notification Service
ntfy (pronounced as 'notify') is a straightforward pub-sub notification service that operates over HTTP. It facilitates the seamless transmission of notifications to your phone or desktop through scripts from any machine, completely free of charge and without the requirement of registration. Furthermore, its open-source nature (as evidenced here) allows you the option to host your own instance.

BIN
apps/ntfy/metadata/logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB