Commit Graph

5453 Commits

Author SHA1 Message Date
d23cef541e Redo exposing the service to nginx
The Service is now exposed by default on port 8585 and forwarded by nginx to the specified endpoint

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>
2022-09-16 19:16:45 +02:00
db705aff4f Add documentation to readme/list of services
Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>
2022-09-16 19:15:33 +02:00
e87bee15dd Add note about the Kakaotalk bridge being dangerous to use 2022-09-16 19:57:52 +03:00
0a4ce46e1e Add doc page
Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>
2022-09-16 18:25:36 +02:00
d000e8c685 Merge pull request #2107 from jalemann/master
fix: typo in changelog.md
2022-09-16 14:33:22 +03:00
b8b7974b78 fix: typo 2022-09-16 13:13:11 +02:00
3d2547329e Add missing else clause to inline if
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2103

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2104
2022-09-15 13:14:31 +03:00
b07fd76830 Fix prometheus.yml.j2 indentation and worker ids for stream writers
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2105
2022-09-15 12:46:44 +03:00
800267b182 Fix incorrect if checks breaking start_pushers/send_federaiton/enable_media_repo
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2103
2022-09-15 12:33:23 +03:00
0cf40fea81 Merge pull request #2103 from spantaleev/more-workers
Major improvements to Synapse workers
2022-09-15 10:51:19 +03:00
ef112181a1 Update some Synapse documentation URLs 2022-09-15 10:46:17 +03:00
109e1addb8 Improve reliability when using more than 1 media_repository worker 2022-09-15 10:45:03 +03:00
8887aed500 Do not add federation_sender_instances/pusher_instances configuration if not necessary
This keeps the configuration cleaner and hopefully prevents odd issues
if Synapse (by any chance) happens to interpret `pusher_instances: []`
as "no pushers", instead of as "push from the master process".

I haven't confirmed what an empty pushers/federation-senders list means,
so it's safer to just avoid it.
2022-09-15 10:34:02 +03:00
a1fb082618 Add support for running background tasks on a worker 2022-09-15 10:32:51 +03:00
5f3f460cda Restore support for appservice and user_dir workers 2022-09-15 10:06:56 +03:00
8cd7c1ec2f Relocate enable_media_repo and make it configurable via matrix_synapse_enable_media_repo
.. although.. manual configuration is discouraged in most cases.
2022-09-15 08:37:23 +03:00
b842447047 Add support for multiple pusher workers 2022-09-15 08:32:55 +03:00
22cf259155 Put common worker configuration options at the top 2022-09-15 08:14:47 +03:00
ec654ca91e Add support for multiple federation sender workers 2022-09-15 08:13:08 +03:00
226c550ffa Add support for stream writer Synapse workers
As stream writer workers are also powered by the `generic_worker`
Synapse app, this necessitated that we provide means for distinguishing
between them and regular `generic_workers`.

I've also taken the time to optimize nginx configuration generation
(more Jinja2 macro usage, less duplication).

Worker names have also changed.
Workers are now named sequentially like this:
- `matrix-synapse-worker-0-generic`
- `matrix-synapse-worker-1-stream-writer-typing`
- `matrix-synapse-worker-2-pusher`

instead of `matrix-synapse-worker_generic_worker-18111` (indexed with a
port number).

People who modify `matrix_synapse_workers_enabled_list` directly will
need to adjust their configuration.
2022-09-15 08:10:04 +03:00
99f4f5edc7 Add note that disabling matrix-nginx-proxy may be a bad idea sometimes
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2090
2022-09-15 07:46:17 +03:00
05819056bc Document that using Synapse workers with not-matrix-nginx-proxy causes troubles
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2090
2022-09-14 20:54:00 +03:00
fde5fef8b3 Fix Cactus Comments nginx injection when matrix-nginx-proxy disabled
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2101

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2089
2022-09-14 20:44:35 +03:00
2763b9b854 Merge pull request #2102 from spantaleev/dependabot/github_actions/frenck/action-yamllint-1.3.0
Bump frenck/action-yamllint from 1.2.0 to 1.3.0
2022-09-14 20:23:27 +03:00
a7067b054d Bump frenck/action-yamllint from 1.2.0 to 1.3.0
Bumps [frenck/action-yamllint](https://github.com/frenck/action-yamllint) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/frenck/action-yamllint/releases)
- [Commits](https://github.com/frenck/action-yamllint/compare/v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: frenck/action-yamllint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-14 17:19:47 +00:00
1c220c8c7f Merge pull request #2100 from etkecc/patch-74
Update Postmoogle 0.9.1 -> 0.9.2
2022-09-14 20:15:15 +03:00
cb2e57e33a Update Postmoogle 0.9.1 -> 0.9.2 2022-09-14 09:58:33 +00:00
ef523d68a4 Suppress errors in docker kill/rm calls for Synapse workers
We do the same everywhere else. This is an omission.
2022-09-14 08:13:01 +03:00
54d5741ec1 Fix typo 2022-09-13 16:39:15 +00:00
1da77f03b1 fix: updated default variables
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-09-13 16:39:15 +00:00
d33a668e65 Add role to setup.yml 2022-09-13 16:39:15 +00:00
19e61b0ad7 Inject nginx configuration for ldap proxy at runtime 2022-09-13 16:39:15 +00:00
94c9312bd0 Remove matrix LDAP proxy config from nginx role 2022-09-13 16:39:15 +00:00
a03b5efc42 Add nginx rewrite for registration 2022-09-13 16:39:15 +00:00
7c79f78d03 Remove selfcheck 2022-09-13 16:39:15 +00:00
bdfd84e146 Use a template option for the env with variable extension 2022-09-13 16:39:15 +00:00
b4fdc622fd Remove ma1sd leftovers 2022-09-13 16:39:15 +00:00
b6fee92f0e Avoid cross-referencing of variables in role, move to group vars 2022-09-13 16:39:15 +00:00
42230b6765 Make role enabled in role but turn it off in group vars 2022-09-13 16:39:15 +00:00
91e75d650e Validate that basic LDAP settings are provided 2022-09-13 16:39:15 +00:00
8e76d712df Remove ma1sd leftovers 2022-09-13 16:39:15 +00:00
6f02a916ec feat: include matrix_ldap_registration_proxy
Fixes: #1144

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-09-13 16:39:15 +00:00
bab0d3b2cf Merge pull request #2098 from etkecc/patch-72
Update Appservice IRC 0.34.0 -> 0.35.0
2022-09-13 17:17:29 +03:00
8a95e961de Merge pull request #2095 from etkecc/patch-69
Update Grafana 9.1.4 -> 9.1.5
2022-09-13 17:17:15 +03:00
ca984a9987 Merge pull request #2096 from etkecc/patch-70
Update Element 1.11.4 -> 1.11.5
2022-09-13 17:17:08 +03:00
c5c032ac61 Merge pull request #2097 from etkecc/patch-71
Update Coturn 4.5.2-r14 -> 4.6.0-r0
2022-09-13 17:17:01 +03:00
ffbb231239 Merge pull request #2099 from etkecc/patch-73
Update Dendrite 0.9.7 -> 0.9.8
2022-09-13 17:16:49 +03:00
17e6c52cbf Update Dendrite 0.9.7 -> 0.9.8 2022-09-13 13:53:45 +00:00
2edd9a056e Update Appservice IRC 0.34.0 -> 0.35.0 2022-09-13 13:52:36 +00:00
83482721f8 Update Coturn 4.5.2-r14 -> 4.6.0-r0 2022-09-13 13:51:32 +00:00