mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-10 20:57:41 +01:00
bfcceb1e82
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. |
||
---|---|---|
.. | ||
main.yml | ||
setup_base.yml | ||
setup_corporal_overrides.yml | ||
setup_corporal.yml | ||
setup_coturn.yml | ||
setup_goofys.yml | ||
setup_mailer.yml | ||
setup_main.yml | ||
setup_mxisd.yml | ||
setup_nginx_proxy.yml | ||
setup_postgres.yml | ||
setup_riot_web.yml | ||
setup_ssl_for_domain.yml | ||
setup_ssl.yml | ||
setup_synapse_ext_ldap_auth.yml | ||
setup_synapse_ext_mautrix_telegram.yml | ||
setup_synapse_ext_mautrix_whatsapp.yml | ||
setup_synapse_ext_rest_auth.yml | ||
setup_synapse_ext_shared_secret_auth.yml | ||
setup_synapse_ext.yml | ||
setup_synapse_main.yml | ||
setup_synapse_pre.yml | ||
setup_synapse.yml | ||
setup_well_known.yml |