56 lines
1.2 KiB
YAML
56 lines
1.2 KiB
YAML
|
---
|
||
|
ntfy_svc:
|
||
|
name: ntfy
|
||
|
domain: push.serguzim.me
|
||
|
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: true
|
||
|
image: binwiederhier/ntfy
|
||
|
volumes:
|
||
|
- cache:/var/cache/ntfy
|
||
|
- data:/var/lib/ntfy
|
||
|
file:
|
||
|
services:
|
||
|
app:
|
||
|
command:
|
||
|
- serve
|
||
|
volumes:
|
||
|
cache:
|
||
|
data:
|