Add ntfy role
Installs and configures the ntfysh server to enable notifications.
This commit is contained in:
parent
1e0643352d
commit
32b1b13ef4
11 changed files with 253 additions and 0 deletions
15
roles/ntfy/templates/server.yml.j2
Normal file
15
roles/ntfy/templates/server.yml.j2
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
base-url: "https://{{ server_domain }}"
|
||||
global_topic_limit: "{{ ntfy_global_topic_limit }}"
|
||||
visitor_subscription_limit: "{{ ntfy_visitor_subscription_limit }}"
|
||||
visitor_request_limit_burst: "{{ ntfy_visitor_request_limit_burst }}"
|
||||
visitor_request_limit_replenish: "{{ ntfy_visitor_request_limit_replenish }}"
|
||||
cache-file: "/var/cache/ntfy/cache.db"
|
||||
cache_duration: "{{ ntfy_cache_duration }}"
|
||||
attachment-cache-dir: "/var/cache/ntfy/attachments"
|
||||
attachment_total_size_limit: "{{ ntfy_attachment_total_size_limit }}"
|
||||
attachment_file_size_limit: "{{ ntfy_attachment_file_size_limit }}"
|
||||
attachment_expiry_duration: "{{ ntfy_attachment_expiry_duration }}"
|
||||
visitor_attachment_total_size_limit: "{{ ntfy_visitor_attachment_total_size_limit }}"
|
||||
visitor_attachment_daily_bandwidth_limit: "{{ ntfy_visitor_attachment_daily_bandwidth_limit }}"
|
||||
behind-proxy: true # uses 'X-Forwarded-For' Headers for individual visitors
|
||||
# TODO i believe Caddy does not set the correct X-Forwarded-For header, see whoami container to check
|
||||
Loading…
Add table
Add a link
Reference in a new issue