matrix-docker-ansible-deploy/roles/matrix-server/templates
Slavi Pantaleev bfcceb1e82 Make it safer to override matrix_synapse_media_store_path
This is described in Github issue #58.

Until now, we had the variable, but if you redefined it, you'd run
into multiple problems:

- we actually always mounted some "storage" directory to the Synapse
container. So if your media store is not there, you're out of luck

- homeserver.yaml always hardcoded the path to the media store,
as a directory called "media-store" inside the storage directory.

Relocating to outside the storage directory was out of the question.

Moreover, even if you had simply renamed the media store directory
(e.g. "media-store" -> "media_store"), it would have also caused trouble.

With this patch, we mount the media store's parent to the Synapse container.
This way, we don't care where the media store is (inside storage or
not). We also don't assume (anymore) that the final part of the path
is called "media-store" -- anything can be used.

The "storage" directory and variable (`matrix_synapse_storage_path`)
still remain for compatibility purposes. People who were previously
overriding `matrix_synapse_storage_path` can continue doing so
and their media store will be at the same place.

The playbook no longer explicitly creates the `matrix_synapse_storage_path` directory
though. It's not necessary. If the media store is specified to be within it, it will
get created when the media store directory is created by the playbook.
2018-12-20 13:39:01 +02:00
..
corporal
coturn Remove lt-cred-mech Coturn option 2018-10-08 08:22:40 +03:00
cron.d
env Make Synapse cache factor configurable 2018-09-27 10:03:31 +03:00
mautrix-telegram Expose mautrix-telegram public endpoint through nginx 2018-10-21 23:20:37 +02:00
mautrix-whatsapp Add documentation and fix templates 2018-10-24 18:23:39 +02:00
mxisd Support configuring mxisd's identity stores (two of them) 2018-12-04 17:19:49 +01:00
nginx-conf.d Fix /.well-known/matrix/client for CORS 2018-11-29 09:13:25 +02:00
riot-web Fix "missing translation" warning on riot-web homepage 2018-12-12 10:48:30 +09:00
synapse Make it safer to override matrix_synapse_media_store_path 2018-12-20 13:39:01 +02:00
systemd Make it safer to override matrix_synapse_media_store_path 2018-12-20 13:39:01 +02:00
usr-local-bin add script + doc to remove everything 2018-11-28 11:02:51 +01:00
well-known Add Service Discovery (/.well-known/matrix/client) support 2018-09-17 10:51:46 +03:00