Fix ntfy settings

Fixed numeric settings for ntfy and a corrected command executed.
This commit is contained in:
Marty Oehme 2022-12-18 15:47:14 +01:00
parent 8aaefd3f60
commit 926f1f475f
Signed by: Marty
GPG key ID: 73BA40D5AFAF49C9
3 changed files with 8 additions and 7 deletions

View file

@ -1,5 +1,4 @@
---
ntfy_version: latest
ntfy_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
@ -8,9 +7,9 @@ ntfy_use_https: true
subdomain_alias: push
ntfy_global_topic_limit: "15000"
ntfy_visitor_subscription_limit: "30"
ntfy_visitor_request_limit_burst: "60"
ntfy_global_topic_limit: 15000
ntfy_visitor_subscription_limit: 30
ntfy_visitor_request_limit_burst: 60
ntfy_visitor_request_limit_replenish: "10s"
ntfy_cache_duration: "12h"
ntfy_attachment_total_size_limit: "5G"

View file

@ -14,6 +14,8 @@ services:
- cache:/var/cache/ntfy
networks:
- "{{ docker_swarm_public_network_name }}"
command:
- serve
volumes:
cache:

View file

@ -1,7 +1,7 @@
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 }}"
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 }}"