Skip to content

Commit 1653fcb

Browse files
feat: add ntfy template
1 parent 69fc4c7 commit 1653fcb

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

public/svgs/ntfy.svg

Lines changed: 1 addition & 0 deletions
Loading

templates/compose/ntfy.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# documentation: https://docs.ntfy.sh/
2+
# slogan: ntfy is a simple HTTP-based pub-sub notification service. It allows you to send notifications to your phone or desktop via scripts from any computer, and/or using a REST API.
3+
# tags: ntfy, notification, push notification, pub-sub, notify
4+
# logo: svgs/ntfy.svg
5+
# port: 80
6+
7+
services:
8+
ntfy:
9+
image: binwiederhier/ntfy
10+
container_name: ntfy
11+
command:
12+
- serve
13+
environment:
14+
- SERVICE_FQDN_NTFY
15+
- TZ=Europe/Berlin
16+
user: 1000:1000
17+
volumes:
18+
- ntfy-cache:/var/cache/ntfy
19+
- ntfy:/etc/ntfy
20+
healthcheck:
21+
test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
22+
interval: 60s
23+
timeout: 10s
24+
retries: 3
25+
start_period: 40s
26+
restart: unless-stopped

0 commit comments

Comments
 (0)