mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 04:34:00 +00:00
Make ntfy not try to listen on a privileged port
We're starting it with `--user` and dropped capabilities, after all. Hopefully fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2188
This commit is contained in:
parent
782407cf89
commit
57bb340343
@ -1,3 +1,4 @@
|
|||||||
base_url: {{ matrix_ntfy_base_url }}
|
base_url: {{ matrix_ntfy_base_url }}
|
||||||
behind_proxy: true
|
behind_proxy: true
|
||||||
cache_file: /data/cache.db
|
cache_file: /data/cache.db
|
||||||
|
listen-http: :8080
|
||||||
|
@ -21,7 +21,7 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-ntfy \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
--network={{ matrix_docker_network }} \
|
--network={{ matrix_docker_network }} \
|
||||||
{% if matrix_ntfy_container_http_host_bind_port %}
|
{% if matrix_ntfy_container_http_host_bind_port %}
|
||||||
-p {{ matrix_ntfy_container_http_host_bind_port }}:80 \
|
-p {{ matrix_ntfy_container_http_host_bind_port }}:8080 \
|
||||||
{% endif %}
|
{% endif %}
|
||||||
--mount type=bind,src={{ matrix_ntfy_config_dir_path }},dst=/etc/ntfy,ro \
|
--mount type=bind,src={{ matrix_ntfy_config_dir_path }},dst=/etc/ntfy,ro \
|
||||||
--mount type=bind,src={{ matrix_ntfy_data_path }},dst=/data \
|
--mount type=bind,src={{ matrix_ntfy_data_path }},dst=/data \
|
||||||
|
Loading…
Reference in New Issue
Block a user