infrastructure/playbooks/roles/ntfy/vars/main.yml
Tobias Reisinger 05e79ae90a
Fix issues (backup, watchtower, firewall)
Remove remote_docker backups
Add option to monitor with watchtower
Add teamspeak ports to firewall
2024-11-08 00:05:55 +01:00

54 lines
1.2 KiB
YAML

---
ntfy_svc:
domain: "{{ all_services | service_get_domain(role_name) }}"
port: 80
ntfy_env:
TZ: "{{ timezone }}"
NTFY_BASE_URL: "https://{{ ntfy_svc.domain }}"
NTFY_CACHE_FILE: /var/cache/ntfy/cache.db
NTFY_CACHE_DURATION: "12h"
NTFY_BEHIND_PROXY: true
NTFY_AUTH_FILE: /var/lib/ntfy/user.db
NTFY_AUTH_DEFAULT_ACCESS: "deny-all"
NTFY_ATTACHMENT_CACHE_DIR: "/var/cache/ntfy/attachments"
NTFY_ATTACHMENT_TOTAL_SIZE_LIMIT: "5G"
NTFY_ATTACHMENT_FILE_SIZE_LIMIT: "15M"
NTFY_ATTACHMENT_EXPIRY_DURATION: "3h"
NTFY_KEEPALIVE_INTERVAL: "45s"
NTFY_MANAGER_INTERVAL: "60m"
NTFY_ENABLE_SIGNUP: false
NTFY_ENABLE_LOGIN: true
NTFY_ENABLE_RESERVATIONS: true
NTFY_GLOBAL_TOPIC_LIMIT: 15000
NTFY_VISITOR_SUBSCRIPTION_LIMIT: 30
NTFY_VISITOR_REQUEST_LIMIT_BURST: 60
NTFY_VISITOR_REQUEST_LIMIT_REPLENISH: "5s"
NTFY_VISITOR_ATTACHMENT_TOTAL_SIZE_LIMIT: "100M"
NTFY_VISITOR_ATTACHMENT_DAILY_BANDWIDTH_LIMIT: "500M"
NTFY_ENABLE_METRICS: true
ntfy_compose:
watchtower: update
image: binwiederhier/ntfy
volumes:
- cache:/var/cache/ntfy
- data:/var/lib/ntfy
file:
services:
app:
command:
- serve
volumes:
cache:
data: