# ntfy server configuration
# Docs: https://docs.ntfy.sh/config/

# Base URL (Cloudflare Tunnel 경유)
base-url: "https://ntfy.technicalkorea.net"

# Listen on port 80 inside the container
listen-http: ":80"

# Cache — 72시간 (금요일 알림 → 월요일 확인 가능)
cache-duration: "72h"
cache-file: "/var/cache/ntfy/cache.db"

# Auth — 기본 접근 거부, 토큰 인증 필수
auth-default-access: "deny-all"
auth-file: "/var/cache/ntfy/user.db"

# Attachment (비활성화 — Phase 1에서는 텍스트 알림만)
# attachment-cache-dir: "/var/cache/ntfy/attachments"

# Rate limiting
visitor-request-limit-burst: 60
visitor-request-limit-replenish: "5s"
