Slavi Pantaleev
ca2b6b0a27
Rename _docker_ vars to _container_ for kakaotalk, telegram, synapse
These three roles have multiple variable prefixes each:
- kakaotalk: matrix_appservice_kakaotalk + matrix_appservice_kakaotalk_node
- telegram: matrix_mautrix_telegram + matrix_mautrix_telegram_lottieconverter
- synapse: matrix_synapse + matrix_synapse_customized + matrix_synapse_rust_synapse_compress_state
For each: renamed _docker_image* to _container_image* (and _docker_src*,
_docker_repo* where applicable), added deprecation entries in
validate_config.yml, updated group_vars references, and moved
deprecation tasks to the front of validate_config.yml.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
vor 1 Monat
Slavi Pantaleev
dd26f8a12a
Add systemd dependencies to s3-storage-provider-migrate service
The migrate service now declares Requires/After on matrix-synapse.service,
ensuring Synapse (and its transitive dependencies like Postgres and Docker)
are running before the migration triggers.
vor 1 Monat
Aine
484e94d493
add matrix_synapse_ext_s3_storage_provider_container_arguments var
vor 3 Monaten
Slavi Pantaleev
51ab9ed9ff
Adjust `lstrip_blocks` to use a `bool` value for compatibility with ansible-core>=2.19.0
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4445
vor 8 Monaten
Suguru Hirahara
2eb952201c
Add license information to files in matrix-synapse/templates/synapse
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
vor 1 Jahr
Slavi Pantaleev
cf5763978b
Upgrade synapse-s3-storage-provider (1.3.0 -> 1.5.0) and adapt configuration
1.3.0 fails to work against the new Synapse (v1.115.0) image.
See: https://github.com/matrix-org/synapse-s3-storage-provider/pull/114
Related to: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3535
vor 1 Jahr
Tiago Carrondo
5ca527066d
Fix s3-storage migrate and shell ( #3136 )
* Fix s3-storage migrate and shell: container needs attachment to postgres network also
* Connect to s3-storage-provider migrate to multiple networks in multiple steps
Multiple `--network` calls lead to:
> docker: Error response from daemon: Container cannot be connected to network endpoints: NETWORK_1 NETWORK_2.
* Connect to s3-storage-provider shell to multiple networks in multiple steps
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
vor 2 Jahren
Zac
f026c7cee1
Apply suggestions from code review
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
vor 2 Jahren
cbackas
0e701bbece
add var to make the creds optional
vor 2 Jahren
Zac
ceda4c41cc
remove the offending lines
vor 2 Jahren
Slavi Pantaleev
1e1ab70965
Make use of matrix_synapse_container_network in the matrix-synapse role
It's the same as `matrix_docker_network` for now, so this practically
doesn't change anything.
vor 2 Jahren
Slavi Pantaleev
643acfcb5b
Make synapse-s3-storage-provider periodic migration schedule customizable
Larger deployments may wish to run migration more often.
vor 3 Jahren
Slavi Pantaleev
f0d1e23c9d
Move around whitelines
vor 3 Jahren
Cody Wyatt Neiman
7e5e1712f5
Encode s3 sse-c key for utf-8
vor 3 Jahren
Cody Wyatt Neiman
4d44f7b49e
Use base64 encoded string for sse-c key
vor 3 Jahren
Slavi Pantaleev
7464604ddd
Make use of matrix_synapse_ext_s3_storage_provider_data_path in a few more places
vor 3 Jahren
Slavi Pantaleev
7c5c3aedc4
Put s3-storage-provider scripts under /matrix/synapse/ext/s3-storage-provider/bin, not /usr/local/bin
vor 3 Jahren
Slavi Pantaleev
735e7355a5
Rename variable (matrix_synapse_ext_s3_storage_provider_path -> matrix_synapse_ext_s3_storage_provider_base_path)
vor 3 Jahren
Cody Wyatt Neiman
b6bb5731cd
Remove leftover sse-c enabled cmd check
vor 3 Jahren
Cody Wyatt Neiman
a7320e02ff
Adjust sse-c template formatting
vor 3 Jahren
Cody Wyatt Neiman
384da4f34f
Add S3 SSE-C support to synapse-s3-storage-provider
vor 3 Jahren
Slavi Pantaleev
a9a81460ec
matrix_host_command_docker -> devture_systemd_docker_base_host_command_docker (via com.devture.ansible.role.systemd_docker_base)
vor 3 Jahren
Slavi Pantaleev
f03f716989
matrix_systemd_unit_home_path -> devture_systemd_docker_base_systemd_unit_home_path (via com.devture.ansible.role.systemd_docker_base)
vor 3 Jahren
Slavi Pantaleev
410a915a8a
Move roles/matrix* to roles/custom/matrix*
This paves the way for installing other roles into `roles/galaxy` using `ansible-galaxy`,
similar to how it's done in:
- https://github.com/spantaleev/gitea-docker-ansible-deploy
- https://github.com/spantaleev/nextcloud-docker-ansible-deploy
In the near future, we'll be removing a lot of the shared role code from here
and using upstream roles for it. Some of the core `matrix-*` roles have
already been extracted out into other reusable roles:
- https://github.com/devture/com.devture.ansible.role.postgres
- https://github.com/devture/com.devture.ansible.role.systemd_docker_base
- https://github.com/devture/com.devture.ansible.role.timesync
- https://github.com/devture/com.devture.ansible.role.vars_preserver
- https://github.com/devture/com.devture.ansible.role.playbook_runtime_messages
- https://github.com/devture/com.devture.ansible.role.playbook_help
We just need to migrate to those.
vor 3 Jahren