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
2025-07-26 17:58:12 +03:00
Slavi Pantaleev
a1f6ee4dc9
Improve compatibility with ansible-core>=2.19.0 by not reaching into vars
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4445
2025-07-26 17:50:20 +03:00
Slavi Pantaleev
3ee7deb2d7
Rename variable (matrix_user_groupname
-> matrix_group_name
)
2025-04-29 10:39:41 +03:00
Slavi Pantaleev
9fc5cdab33
Rename variable (matrix_user_username
-> matrix_user_name
)
2025-04-29 10:39:41 +03:00
Suguru Hirahara
c385bee7af
Re-run "reuse annotate" to sort statements
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-03-05 12:43:41 +09:00
Suguru Hirahara
66b03d0ca9
Tribute to deprecated components: add license information to files for matrix-sliding-sync
...
This commit adds copyright attirbutions in SPDX format to files for matrix-sliding-sync, following the REUSE's specification.
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-02-25 02:52:56 +09:00
Slavi Pantaleev
c47eca389b
Rework all roles to include component_(docker|container)_image_registry_prefix*
variables
...
This:
- brings consistency - no more mixing `_name_prefix` and `_registry_prefix`
- adds extensibility - a future patch will allow reconfiguring all registry prefixes for all roles in the playbook
We still have `_docker_` vs `_container_` inconsistencies.
These may be worked on later.
2025-02-24 11:38:47 +02:00
Slavi Pantaleev
d12643eb91
Do not use docker stop --time
(deprecated in Docker v28 in favor of --timeout
or just -t
)
...
`-t` works on both old and new Docker versions, so it's best to use that.
2025-02-22 21:42:18 +02:00
Suguru Hirahara
056a502d5f
Update files for Sliding Sync proxy: change "matrix-sliding-sync-proxy" to "matrix-sliding-sync"
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-02-06 23:22:30 +09:00
Suguru Hirahara
70e4320eda
Fix capitalization: Sliding Sync Proxy → Sliding Sync proxy
...
Based on MSC3575
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-24 18:02:08 +09:00
Suguru Hirahara
90cfdabb2b
Replace DOMAIN with example.com
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-18 04:02:02 +09:00
David Mehren
c89c356e53
Add a global config option for Docker network MTU ( #3502 )
...
* Add a global config option for Docker network MTU
* Upgrade systemd_docker_base (v1.2.0-0 -> v1.3.0-0)
The new version includes `devture_systemd_docker_base_container_networks_driver_options`
due to 3cc7d12396
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3502
* Switch from passing matrix_playbook_docker_network_mtu to respecting devture_systemd_docker_base_container_networks_driver_options
Related to:
- 3cc7d12396
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3502
* Update all roles to versions that respect `devture_systemd_docker_base_container_networks_driver_options`
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com >
2024-09-18 16:20:27 +03:00
renovate[bot]
d723ac67be
chore(deps): update ghcr.io/matrix-org/sliding-sync docker tag to v0.99.19
2024-06-28 16:18:15 +00:00
HarHarLinks
cc70ece99b
sliding sync metrics support
2024-06-14 23:48:31 +02:00
Slavi Pantaleev
4224741130
Remove a few remaining hardcoded docker.service references
...
Continuation of 9f2eff2ac7
Provoked by 7749048bf8
(https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3353 )
2024-06-05 21:22:21 +03:00
Slavi Pantaleev
5ced92ddc4
Upgrade sliding-sync (v0.99.17 -> v0.99.18)
2024-05-23 15:07:30 +03:00
Slavi Pantaleev
047bc04f64
Upgrade sliding-sync (v0.99.16 -> v0.99.17)
2024-05-10 17:36:27 +03:00
renovate[bot]
664de248c0
chore(deps): update ghcr.io/matrix-org/sliding-sync docker tag to v0.99.16
2024-04-26 14:38:20 +00:00
Slavi Pantaleev
3758b0cfeb
Squashed commit of the following:
...
commit cf8637efaca0a0be3609fd6add0dff893a0a9194
Author: Slavi Pantaleev <slavi@devture.com >
Date: Sun Mar 24 19:14:57 2024 +0200
Make devture_systemd_docker_base_ipv6_enabled automatically reconfigure geerlingguy/ansible-role-docker
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3218
commit dc7af3bc7d25f321bf409477d823e43ea8a05803
Author: Slavi Pantaleev <slavi@devture.com >
Date: Sun Mar 24 19:10:31 2024 +0200
Replace matrix_ipv6_enabled with devture_systemd_docker_base_ipv6_enabled
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3218
commit 07e900d6a2
Author: Slavi Pantaleev <slavi@devture.com >
Date: Sun Mar 24 19:01:51 2024 +0200
Improve matrix_ipv6_enabled comments
commit 3f03ca7f69
Author: Tilo Spannagel <development@tilosp.de >
Date: Sat Mar 9 19:27:50 2024 +0000
Add setting to enable ipv6
2024-03-24 19:15:43 +02:00
Slavi Pantaleev
ecb5591743
Upgrade sliding-sync (v0.99.14 -> v0.99.15)
2024-01-22 14:36:05 +02:00
Slavi Pantaleev
51df34e7ae
Ensure each container labels file defines at least one service
...
Most of these files were defining a service, usually toward the end.
These lines have been moved upward.
Some components (mautrix-signal, mautrix-gmessages, etc.) were defining
a service conditionally (only if metrics are exposed, etc). This was
causing issues like these in the Traefik logs:
> level=error msg="service \"matrix-mautrix-twitter\" error: port is missing" providerName=docker container=matrix-mautrix-twitter-..
2024-01-17 17:56:45 +02:00
Slavi Pantaleev
5764c2cc67
Merge branch 'master' into bye-bye-nginx-proxy
2024-01-08 13:29:10 +02:00
Slavi Pantaleev
e48adcb91d
Upgrade sliding-sync (v0.99.13 -> v0.99.14)
2024-01-08 13:29:01 +02:00
Slavi Pantaleev
499e4887f7
Connect sliding-sync directly to the homeserver
...
This saves up 1 container network and avoids going through extra proxies
unnecessarily.
2024-01-05 06:28:42 +02:00
Slavi Pantaleev
170f321a01
Minor sliding-sync improvements
2024-01-05 06:04:44 +02:00
Slavi Pantaleev
2511b34a7c
Stop containers gracefully, instead of outright killing them
2023-12-06 11:52:23 +02:00
renovate[bot]
d318d8cf8a
chore(deps): update ghcr.io/matrix-org/sliding-sync docker tag to v0.99.13
2023-12-04 14:18:28 +00:00
renovate[bot]
e6be3709f0
Update ghcr.io/matrix-org/sliding-sync Docker tag to v0.99.12
2023-11-09 19:00:31 +00:00
Slavi Pantaleev
ec3b204541
Merge branch 'master' into renovate-config
2023-10-16 18:15:53 +03:00
Slavi Pantaleev
c301c06a53
Add support for injecting additional environment-variables into sliding-sync
2023-10-11 20:39:02 +03:00
Slavi Pantaleev
2441cf3ab1
Upgrade sliding-sync (v0.99.10 -> v0.99.11)
2023-10-11 20:39:02 +03:00
Samuel Meenzen
c846ed199b
Annotate version numbers with renovate metadata
2023-10-06 14:14:03 +02:00
Slavi Pantaleev
0a4cff56fb
Make sliding-sync communicate with the homeserver over the container network
...
Seems like we don't necessarily need to use a public URL for `SYNCV3_SERVER`.
This possibly helps setups that were having trouble when `SYNCV3_SERVER`
was a public URL (e.g. `https://matrix.DOMAIN `), as described in:
https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2912
2023-10-02 07:41:57 +03:00
Aine
faef601f0d
Update sliding-sync 0.99.9 -> 0.99.10
2023-09-07 16:29:07 +03:00
Aine
d0f602b5e9
Update sliding-sync 0.99.8 -> 0.99.9
2023-09-06 20:40:50 +03:00
Aine
5d61a73fac
Update sliding-sync 0.99.7 -> 0.99.8
2023-09-01 13:47:18 +03:00
Slavi Pantaleev
ba1cce1316
Add Project source code URL comment to matrix-sliding-sync role
2023-08-29 07:04:55 +03:00
David Mehren
04d9183904
Upgrade sliding-sync (v0.99.5 -> v0.99.7)
2023-08-25 18:43:57 +02:00
Slavi Pantaleev
6427397486
Do not hardcode sslmode=disable to Postgres connection strings - make it configurable
...
This is backward-compatible with what we had before. We're not changing
the SSL mode - just making it configurable.
Most components are defaulting to `sslmode=disable`, while some
(`matrix-bot-matrix-reminder-bot` and others) do not specify an `sslmode` at all.
We're making sslmode configurable, because certain external Postgres
servers may be configured to require SSL encryption.
In such cases `sslmode=disable` does not work and needs to be changed to
`sslmode=require` or something else (`verify-ca`, `verify-full`, etc).
2023-08-22 19:40:50 +03:00
David Mehren
b9b68c7110
Upgrade sliding-sync (v0.99.4 -> v0.99.5)
2023-08-05 12:48:11 +02:00
David Mehren
4e4f107daa
Upgrade sliding-sync (v0.99.3 -> v0.99.4)
2023-07-16 09:21:30 +02:00
David Mehren
3fc217ded2
Upgrade sliding-sync (v0.99.1 -> v0.99.3)
2023-07-09 15:46:45 +02:00
Kabir Kwatra
8202acf742
fix(sliding-sync): use external syncv3 server url
2023-03-18 10:17:29 +00:00
Slavi Pantaleev
dddfee16bc
Fix all 300+ ansible-lint-reported errors
2023-03-07 17:28:15 +02:00
Slavi Pantaleev
023fe3ea08
Add sliding-sync support
...
This allows people to try out the new Element X clients, which need to
run against the sliding-sync proxy (https://github.com/matrix-org/sliding-sync ).
Supersedes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2515
The code is based on the existing PR (#2515 ), but heavily reworked. Major changes:
- lots of internal refactoring and variable renaming
- fixed self-building to support non-amd64 architectures
- changed to talk to the homeserver locally, over the container network (not
publicly)
- no more matrix-nginx-proxy support due to complexity (see below)
- no more `matrix_server_fqn_sliding_sync_proxy` in favor of
`matrix_sliding_sync_hostname` and `matrix_sliding_sync_path_prefix`
- runs on `matrix.DOMAIN/sliding-sync` by default, so it can tried
easily without having to create new DNS records
2023-03-07 11:57:56 +02:00