mirror of
https://github.com/tomasriveral/vps-config.git
synced 2026-08-11 18:18:38 +02:00
setup ntfy
This commit is contained in:
@@ -25,3 +25,7 @@ rss.tomasrivera.ch {
|
||||
status.tomasrivera.ch {
|
||||
reverse_proxy uptime-kuma:3001
|
||||
}
|
||||
|
||||
ntfy.tomasrivera.ch {
|
||||
reverse_proxy ntfy:80
|
||||
}
|
||||
|
||||
+2
-1
@@ -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
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user