Switch matrix_synapse_container_additional_volumes from using -v to --mount

Depending on the `options` that people provide, this may break
compatibility.
This commit is contained in:
Slavi Pantaleev
2024-01-11 12:12:44 +02:00
parent c4d6144bb9
commit e5130372b9
3 changed files with 4 additions and 8 deletions

View File

@ -526,12 +526,8 @@ matrix_synapse_oidc_providers: []
# A list of additional "volumes" to mount in the container.
# This list gets populated dynamically based on Synapse extensions that have been enabled.
# Contains definition objects like this: `{"src": "/outside", "dst": "/inside", "options": "rw|ro|slave|.."}
#
# Note: internally, this uses the `-v` flag for mounting the specified volumes.
# It's better (safer) to use the `--mount` flag for mounting volumes.
# To use `--mount`, specify it in `matrix_synapse_container_extra_arguments`.
# Example: `matrix_synapse_container_extra_arguments: ['--mount type=bind,src=/outside,dst=/inside,ro']
# Contains definition objects like this: `{"src": "/outside", "dst": "/inside", "options": "ro"}
# Note: internally, this uses the `--mount` flag for mounting the specified volumes.
matrix_synapse_container_additional_volumes: []
# A list of additional loggers to register in synapse.log.config.