Slavi Pantaleev
8fbe99ac2a
Do not add main/master Synapse process to instance_map if workers are not in use
This is meant to keep the configuration tidy for non-worker setups.
Related to 49cb8b7b11
2 anni fa
Slavi Pantaleev
49cb8b7b11
Add Synapse main/master process to instance map
Related to https://github.com/matrix-org/synapse/pull/15491
This doesn't hurt to be done early on, while still on Synapse v1.83.0.
We'll be able to remove the `worker_replication_*` settings later,
when Synapse v1.84.0 gets released and starts making use of the new
`main` instance in the instance map instead of looking at the
`worker_replication_*` settings.
2 anni fa
Slavi Pantaleev
c1462c6277
Upgrade Synapse (v1.82.0 -> v1.83.0)
2 anni fa
Slavi Pantaleev
8ef23a655d
Restore --tags=import-synapse-sqlite-db support
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2669
Removed in 04b9483f0d (2022-11-28) when switching from matrix-postgres to
the devture-postgres external Ansible role.
More details: https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/CHANGELOG.md#matrix-postgres-has-been-replaced-by-the-comdevtureansiblerolepostgres-external-role
The `import_synapse_sqlite_db.yml` file and documentation has been adapted somewhat compared to before, so that:
- it doesn't try to start Postgres automatically. You need to handle
this part manually
- it doesn't rely on the integrated Postgres and may potentially work
with external Postgres instances just the same
- it doesn't wipe out the whole database anymore. By default, we assume
it's empty anyway and there's no need for such things. If it's not,
then it's also probably dangerous to be so destructive.
This is all completely untested, but will hopefully work.
2 anni fa
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.
2 anni fa
Slavi Pantaleev
2d051679c0
Ensure instance_map.port is numeric
Fixup related to https://github.com/matrix-org/synapse/pull/15431
2 anni fa
Slavi Pantaleev
c8215c98e7
Load `/capabilities` endpoint on workers
Related to:
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2656
- e4a25d022c
2 anni fa
Slavi Pantaleev
905f0214cd
Load `/directory/room/{roomAlias}` endpoint on workers
Related to:
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2656
- 4af0aec54d
2 anni fa
Aine
1762fc18f3
Update synapse 1.81.0 -> 1.82.0
2 anni fa
spatterlight
beb40134b7
Add support for backup LDAP servers ( #2650 )
* Update homeserver.yaml.j2
* Update configuring-playbook-ldap-auth.md
* Update homeserver.yaml.j2
2 anni fa
Kanlas
9c75a1e20d
Fix recaptcha vars ansible-vault compatibility
2 anni fa
Slavi Pantaleev
024d9ed3f3
Upgrade Synapse (v1.80.0 -> v1.81.0)
2 anni fa
Aeris One
44aa0dce7b
Add ability to disable password auth ( #2612 )
* Add ability to disable password auth
* Allow disabling password authentication
3 anni fa
Slavi Pantaleev
1fff42d930
Switch Synapse to being pulled from ghcr.io, not docker.io
Related to:
- https://github.com/matrix-org/synapse/pull/15281
- https://github.com/matrix-org/synapse/pull/15282
3 anni fa
Slavi Pantaleev
32fb27c16c
Whitelist 2 more APIs for Synapse workers
Related to:
- e55269e14f
- 3d70cc393f
- 4fc85e5a92
3 anni fa
Slavi Pantaleev
e55269e14f
Upgrade Synapse (v1.79.0 -> v1.80.0)
3 anni fa
Slavi Pantaleev
1abd76101a
Add matrix_synapse_docker_image_registry_prefix
3 anni fa
Slavi Pantaleev
fab6c03609
Allow some new endpoints to work on workers
Related to:
- 682d31c702
- ecbe0ddbe7
- f4fc83ac75
.. and https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2569
3 anni fa
Catalan Lover
5cd3a6188e
Upgrade Synapse from 1.78.0 to 1.79.0
3 anni fa
Slavi Pantaleev
dddfee16bc
Fix all 300+ ansible-lint-reported errors
3 anni fa
Slavi Pantaleev
8db2c0498a
Upgrade Synapse (v1.77.0 -> v1.78.0)
3 anni fa
Slavi Pantaleev
643acfcb5b
Make synapse-s3-storage-provider periodic migration schedule customizable
Larger deployments may wish to run migration more often.
3 anni fa
Slavi Pantaleev
5df89a44b3
Add support for customizing Synapse templates
3 anni fa
Slavi Pantaleev
9775218850
Add matrix_synapse_email_app_name variable
3 anni fa
Slavi Pantaleev
632026513e
Add matrix_synapse_uid, matrix_synapse_gid and matrix_synapse_username
3 anni fa
Slavi Pantaleev
519b32543c
Add matrix_synapse_container_network and matrix_synapse_container_additional_networks
3 anni fa
Aine
3570808633
Update synapse 1.76.0 -> 1.77.0
3 anni fa
Slavi Pantaleev
2d7d5d4bab
Use new security-opt syntax (: -> =)
Related to https://docs.docker.com/engine/deprecated/#separator--of---security-opt-flag-on-docker-run
3 anni fa
Aine
c11f772e78
Fix python packages path in synapse container
3 anni fa
Aine
0f208ed053
Update synapse 1.75.0 -> 1.76.0; default room version 9 -> 10
3 anni fa
Slavi Pantaleev
424f79df3a
Replace synapse.app.pusher and synapse.app.federation_sender with synapse.app.generic_worker
Related to https://github.com/matrix-org/synapse/commit/3479599387164aca2613e88d169719
3 anni fa
Slavi Pantaleev
34745b5206
Upgrade Synapse (v1.74.0 -> v1.75.0)
3 anni fa
Aine
d1b4a6ebe1
unify docker images urls
3 anni fa
Slavi Pantaleev
f0d1e23c9d
Move around whitelines
3 anni fa
Cody Wyatt Neiman
fc9eaa6ec5
Remove git version for s3 storage provider
3 anni fa
Aine
6bd909bbb7
add mode var for synapse ext ldap auth
3 anni fa
Slavi Pantaleev
1d1fd7053c
ewoutp/goofys:latest -> docker.io/ewoutp/goofys:latest
3 anni fa
Cody Wyatt Neiman
7e5e1712f5
Encode s3 sse-c key for utf-8
3 anni fa
Cody Wyatt Neiman
f5390562ed
Fix synapse s3 storage provider container indentation
3 anni fa
Cody Wyatt Neiman
6d96bcee1d
Allow 'git' as a version for s3 storage provider
3 anni fa
Cody Wyatt Neiman
4d44f7b49e
Use base64 encoded string for sse-c key
3 anni fa
Slavi Pantaleev
40aa42e982
Add reference to push.enabled to homeserver.yaml
Related to:
- https://github.com/matrix-org/synapse/pull/14551/files
- https://github.com/matrix-org/synapse/pull/14619/files
3 anni fa
Joe Kappus
deabd79452
Upgrade Synapse (1.73.0 -> 1.74.0)
Signed-off-by: Joe Kappus <joe@wt.gd>
3 anni fa
Luke Moch
dd51ad2ba2
fail if matrix_synapse_ext_synapse_s3_storage_provider_config_endpoint_url 'not' startswith('http')
3 anni fa
Slavi Pantaleev
d81e7d6328
Make matrix_synapse_ext_synapse_s3_storage_provider_config_endpoint_url required
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2330
3 anni fa
Slavi Pantaleev
3824139908
Rename inject_into_nginx_proxy.yml to init.yml when it does more than injection
3 anni fa
Slavi Pantaleev
f186d6236d
Add some missing tags to Synapse role
Without these:
- `--tags=install-synapse` and `--tags=install-all` would be incomplete
and will not contain Synapse worker configuration
- `--tags=install-synapse-reverse-proxy-companion` and
`--tags=setup-synapse-reverse-proxy-companion` would not contain
Synapse worker configuration
3 anni fa
Slavi Pantaleev
9edc7da67d
Do not specify now-unnecessary worker_main_http_uri Synapse worker setting
Related to
- c15e9a0edb
- 01a0527892
3 anni fa
Slavi Pantaleev
13e7399104
Handle /timestamp_to_event via Synapse workers
Related to 8f10c8b054
3 anni fa
Slavi Pantaleev
663fe29ddb
Do not specify start_pushers in Synapse config
It's unnecessary when `pusher_instances` is populated.
Source: 6acb6d772a
3 anni fa