Switch matrix_dendrite_container_additional_volumes from using -v to --mount

Related to e5130372b9.

Depending on the `options` that people provide, this may break
compatibility.
This commit is contained in:
Slavi Pantaleev
2024-01-11 12:15:32 +02:00
parent e5130372b9
commit 881c20bf25
2 changed files with 3 additions and 7 deletions

View File

@ -215,12 +215,8 @@ matrix_dendrite_client_api_recaptcha_sitekey_class: ""
# A list of additional "volumes" to mount in the container.
# This list gets populated dynamically based on Dendrite 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_dendrite_container_extra_arguments`.
# Example: `matrix_dendrite_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_dendrite_container_additional_volumes: []
# A list of appservice config files (in-container filesystem paths).