setup ntfy

This commit is contained in:
2026-07-24 16:42:07 +02:00
parent 3ce3f9498d
commit 5adbc3cb3c
3 changed files with 25 additions and 1 deletions
+4
View File
@@ -25,3 +25,7 @@ rss.tomasrivera.ch {
status.tomasrivera.ch {
reverse_proxy uptime-kuma:3001
}
ntfy.tomasrivera.ch {
reverse_proxy ntfy:80
}
+2 -1
View File
@@ -154,7 +154,8 @@ mkdir -p \
/opt/server/archivebox/archivebox-data \
/opt/server/freshrss \
/opt/server/filebrowser/database \
/opt/server/uptime-kuma
/opt/server/uptime-kuma \
/opt/server/ntfy
sudo chown -R 1000:1000 /opt/server/filebrowser # somehow filebrowser cant acces it
+19
View File
@@ -82,6 +82,25 @@ services:
ports:
- "3001:3001"
ntfy:
image: binwiederhier/ntfy:latest
container_name: ntfy
restart: unless-stopped
command:
- serve
environment:
- TZ=Europe/Zurich
volumes:
- /opt/server/ntfy:/var/cache/ntfy
healthcheck:
test: ["CMD-SHELL", "wget -q --tries=1 -O- http://localhost:80/v1/health | grep -q 'healthy'"]
interval: 30s
timeout: 10s
retries: 3
volumes:
caddy_data:
caddy_config: