matrix-ntfy: persist cache on disk
This commit is contained in:
@ -23,6 +23,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-ntfy \
|
||||
{% if matrix_ntfy_container_http_host_bind_port %}
|
||||
-p {{ matrix_ntfy_container_http_host_bind_port }}:80 \
|
||||
{% endif %}
|
||||
--mount type=bind,src={{ matrix_ntfy_data_path }},dst=/data \
|
||||
--env NTFY_CACHE_FILE=/data/cache.db \
|
||||
--env NTFY_BASE_URL=https://{{ matrix_server_fqn_ntfy }} \
|
||||
{{ matrix_ntfy_docker_image }} \
|
||||
serve --behind-proxy
|
||||
|
Reference in New Issue
Block a user