matrix-docker-ansible-deploy/roles
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
..
matrix-base Improve uninstallation instructions 2020-11-24 09:38:17 +02:00
matrix-bot-matrix-reminder-bot Use more fully-qualified container images 2020-11-14 23:01:11 +02:00
matrix-bridge-appservice-discord Use more fully-qualified container images 2020-11-14 23:01:11 +02:00
matrix-bridge-appservice-irc Use more fully-qualified container images 2020-11-14 23:01:11 +02:00
matrix-bridge-appservice-slack Use more fully-qualified container images 2020-11-14 23:01:11 +02:00
matrix-bridge-appservice-webhooks Use more fully-qualified container images 2020-11-14 23:01:11 +02:00
matrix-bridge-mautrix-facebook Improve self-building experience (avoid conflict with pullable images) 2020-11-14 23:00:49 +02:00
matrix-bridge-mautrix-hangouts Improve self-building experience (avoid conflict with pullable images) 2020-11-14 23:00:49 +02:00
matrix-bridge-mautrix-telegram update mautrix-telegram to 0.9.0 2020-11-17 21:20:12 +01:00
matrix-bridge-mautrix-whatsapp Renamed systemd descriptions for all bridges 2020-10-13 16:40:30 -07:00
matrix-bridge-mx-puppet-discord Improve self-building experience (avoid conflict with pullable images) 2020-11-14 23:00:49 +02:00
matrix-bridge-mx-puppet-instagram Improve self-building experience (avoid conflict with pullable images) 2020-11-14 23:00:49 +02:00
matrix-bridge-mx-puppet-skype Improve self-building experience (avoid conflict with pullable images) 2020-11-14 23:00:49 +02:00
matrix-bridge-mx-puppet-slack Improve self-building experience (avoid conflict with pullable images) 2020-11-14 23:00:49 +02:00
matrix-bridge-mx-puppet-steam Improve self-building experience (avoid conflict with pullable images) 2020-11-14 23:00:49 +02:00
matrix-bridge-mx-puppet-twitter Improve self-building experience (avoid conflict with pullable images) 2020-11-14 23:00:49 +02:00
matrix-bridge-sms updated matrix-sms-bridge image version 2020-11-15 12:12:44 +01:00
matrix-client-element Replace some -v instances with --mount 2020-11-24 10:26:05 +02:00
matrix-common-after/tasks add run-docker-prune command 2020-10-10 04:11:26 +02:00
matrix-corporal Use more fully-qualified container images 2020-11-14 23:01:11 +02:00
matrix-coturn Improve self-building experience (avoid conflict with pullable images) 2020-11-14 23:00:49 +02:00
matrix-dimension Replace some -v instances with --mount 2020-11-24 10:26:05 +02:00
matrix-dynamic-dns Improve self-building experience (avoid conflict with pullable images) 2020-11-14 23:00:49 +02:00
matrix-email2matrix Use more fully-qualified container images 2020-11-14 23:01:11 +02:00
matrix-jitsi Replace some -v instances with --mount 2020-11-24 10:26:05 +02:00
matrix-ma1sd Replace some -v instances with --mount 2020-11-24 10:26:05 +02:00
matrix-mailer Improve self-building experience (avoid conflict with pullable images) 2020-11-14 23:00:49 +02:00
matrix-nginx-proxy Replace some -v instances with --mount 2020-11-24 10:26:05 +02:00
matrix-postgres Replace some -v instances with --mount 2020-11-24 10:26:05 +02:00
matrix-registration Replace some -v instances with --mount 2020-11-24 10:26:05 +02:00
matrix-synapse Replace some -v instances with --mount 2020-11-24 10:26:05 +02:00
matrix-synapse-admin Fix self-building for synapse-admin 2020-11-18 18:36:03 +02:00