matrix-docker-ansible-deploy/roles/matrix-synapse/tasks
Slavi Pantaleev 1fca917ad1 Replace some -v instances with --mount
`-v` magically creates the source destination as a directory,
if it doesn't exist already. We'd like to avoid this magic
and the potential breakage that it might cause.

We'd rather fail while Docker tries to find things to `--mount`
than have it automatically create directories and fail anyway,
while having contaminated the filesystem.

There's a lot more `-v` instances remaining to be fixed later on.
This is just some start.

Things like `matrix_synapse_container_additional_volumes` and
`matrix_nginx_proxy_container_additional_volumes` were not changed to
use `--mount`, as options for each one are passed differently
(`ro` is `ro`, but `rw` doesn't exist and `slave` is `bind-propagation=slave`).
To avoid breaking people's custom volume mounts, we keep it as it is for now.

A deficiency with `--mount` is that it lacks the `z` option (SELinux
ownership changes), and some of our `-v` instances use that. I'm not
sure how supported SELinux is for us right now, but it might be,
and breaking that would not be a good idea.
2020-11-24 10:26:05 +02:00
..
ext Update settings for Synapse v1.14.0 2020-05-28 15:23:05 +03:00
goofys Allow the matrix user username and groupname to be configured separately 2020-05-01 19:59:32 +02:00
rust-synapse-compress-state Add support for rust-synapse-compress-state 2020-08-21 13:53:39 +03:00
synapse Replace some -v instances with --mount 2020-11-24 10:26:05 +02:00
import_media_store.yml Allow the matrix user username and groupname to be configured separately 2020-05-01 19:59:32 +02:00
init.yml Rename some variables for consistency 2020-03-15 10:15:27 +02:00
main.yml Add support for rust-synapse-compress-state 2020-08-21 13:53:39 +03:00
register_user.yml Use |quote in some command calls 2020-04-24 09:59:30 +03:00
self_check_client_api.yml Run all API self checks in check_mode 2020-07-04 15:24:33 +02:00
self_check_federation_api.yml Run all API self checks in check_mode 2020-07-04 15:24:33 +02:00
setup_synapse.yml Upgrade Synapse (v1.12.4 -> v1.13.0) 2020-05-19 21:35:32 +03:00
update_user_password.yml Remove hardcoded command paths in playbook shell usage 2020-05-27 23:14:56 +02:00
validate_config.yml Upgrade Synapse (v1.18.0 -> v1.19.0) 2020-08-17 17:02:40 +03:00