Kim Brose
a9dd397771
add etherpad to nginx wanted services
...
it's required if enabled by the dimension config here:
6eb8fb8392/roles/matrix-etherpad/tasks/init.yml (L42-L49)
see also #1517
2022-01-22 18:59:16 +01:00
HarHarLinks
321ed9b609
Merge remote-tracking branch 'origin/master' into hookshot
2022-01-14 19:26:31 +01:00
HarHarLinks
08fe38cf40
add hookshot to nginx wanted services
...
related 0fb881deb5
2022-01-12 13:09:13 +01:00
HarHarLinks
224633df1d
fix condition for matrix_hookshot_container_http_host_bind_ports
2022-01-12 01:31:46 +01:00
HarHarLinks
2b97ab9a51
fix matrix_hookshot_container_http_host_bind_ports
2022-01-12 01:22:54 +01:00
HarHarLinks
3a766d4ba5
proxy hookshot metrics when proxying synapse metrics
...
see also #1527
2022-01-11 22:39:57 +01:00
Slavi Pantaleev
0fb881deb5
Update the "wanted systemd services" list for matrix-nginx-proxy/matrix-grafana
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1517
2022-01-11 08:29:38 +02:00
HarHarLinks
87871040df
add hookshot metrics to internal prometheus
2022-01-11 00:56:51 +01:00
HarHarLinks
1987cc4839
refine hookshot role
2022-01-11 00:19:29 +01:00
Aine
a83b880f72
matrix-bot-honoroit: feedback
2022-01-09 18:49:41 +02:00
Aine
4377c348c5
matrix-bot-honoroit: disable self-build by default, update to v0.9.1
2022-01-09 17:46:47 +02:00
HarHarLinks
e0f2aa9de8
refactor matrix_hookshot_container_http_host_bind_ports
2022-01-08 17:16:53 +01:00
Slavi Pantaleev
7b093c5ae0
Move some variables to a more appropriate location
2022-01-08 09:11:22 +02:00
Slavi Pantaleev
19b5a50805
Derive Honoroit database password from matrix_homeserver_generic_secret_key
...
Related to the work done in https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/818
2022-01-08 09:08:55 +02:00
Slavi Pantaleev
5c3c0d0d58
Set Dendrite's real_ip_header correctly
2022-01-07 16:00:51 +02:00
Slavi Pantaleev
05b4572fab
Fix matrix_dimension_homeserver_federationUrl for Dendrite
2022-01-07 16:00:51 +02:00
Slavi Pantaleev
de49cc5271
Fix matrix_registration_shared_secret for Dendrite
2022-01-07 16:00:51 +02:00
Slavi Pantaleev
593fc2fa85
Replace matrix-synapse.service references with more homeserver-neutral references
2022-01-07 16:00:51 +02:00
Slavi Pantaleev
38ad152c03
Add Dendrite-awareness to matrix_homeserver_container_url when matrix-nginx-proxy disabled
2022-01-07 16:00:51 +02:00
Slavi Pantaleev
bbbfc0708f
Derive matrix_coturn_turn_static_auth_secret from matrix_homeserver_generic_secret_key
...
Doing this further simplifies examples/vars.yml.
2022-01-07 16:00:51 +02:00
Slavi Pantaleev
965890bf75
Derive secrets from matrix_homeserver_generic_secret_key, not matrix_synapse_macaroon_secret_key
...
We're trying to move away from implementation-specific variables,
hoping for a clean (implementation-neutral) examples/vars.yml file.
2022-01-07 16:00:42 +02:00
Slavi Pantaleev
1dfe21944f
Make matrix_homeserver_implementation influence matrix_IMPLEMENTATION_enabled, not the other way around
...
Doing this seems more reasonable and simpler.
2022-01-07 15:59:35 +02:00
Slavi Pantaleev
4139290cc9
Rename some variables for consistency
2022-01-07 15:59:35 +02:00
Slavi Pantaleev
32bbcf5ed6
Fix incorrect definition
2022-01-07 15:59:35 +02:00
Slavi Pantaleev
38ec546b8b
Only trust own identity server in Dendrite config, if ma1sd enabled
2022-01-07 15:59:35 +02:00
Slavi Pantaleev
ecc237bbad
Initial work on getting nginx reverse proxying working with Dendrite
2022-01-07 15:59:35 +02:00
Slavi Pantaleev
3cf9f87097
Add matrix_homeserver_implementation, tracking the current homeserver implementation
...
The goal is to have a single variable which tells us which homeserver
software is in use. Much simpler than having if/elif/elif checks for
variables like (`matrix_synapse_enabled` and `matrix_dendrite_enabled`, etc.)
everywhere.
2022-01-07 15:59:35 +02:00
Slavi Pantaleev
5b148921a0
Upgrade Dendrite (0.3.11 -> 0.5.0) and update configuration
...
This brings dendrite.yaml up to date and cleans things up a bit.
2022-01-07 15:59:35 +02:00
Jip J. Dekker
07af05690c
Add initial role for Dendrite as alternative Matrix server
2022-01-07 15:59:35 +02:00
rakshazi
d9dd524db3
self-build consistency: rename vars everywhere
2022-01-07 12:18:45 +02:00
Slavi Pantaleev
b0c801a497
Rename variable for consistency (matrix_bot_honoroit_container_self_build -> matrix_bot_honoroit_container_image_self_build)
...
Discussed in https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1514
2022-01-07 11:53:24 +02:00
rakshazi
407e8c4940
added honoroit
2022-01-06 20:30:10 +02:00
rakshazi
490f11ba0d
matrix-client-cinny: self_build feedback"
2022-01-06 09:11:28 +02:00
rakshazi
5788a16a2e
added matrix-client-cinny
2022-01-05 18:33:21 +02:00
HarHarLinks
621251c1e5
hookshot role groundwork
2022-01-03 21:25:03 +01:00
Slavi Pantaleev
dcab14d9a8
Add self-building support to Beeper LinkedIn bridge
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1480
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1242
2021-12-23 13:04:09 +02:00
Shreyas Ajjarapu
25ced724ac
Update matrix_servers
2021-12-20 23:38:54 -06:00
Matthew Cengia
0f49ce0638
Set up vars for mautrix-twitter playbook
...
* Copy/update mautrix_facebook group_vars to mautrix_twitter
* Replace facebook -> twitter, fb -> twt, remove presence var
* Enable playbook in setup.yml
2021-12-14 22:36:23 +11:00
Slavi Pantaleev
fc55df9318
Make some appservices reach the homeserver via nginx
...
This is useful when Synapse is using a worker setup. In that case,
we don't want appservices to connect to `matrix-synapse:8008`, because
not all APIs are exposed there.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1449
2021-12-10 08:29:57 +02:00
John M
286871b9b5
Add self-build for Dimension
...
Add a self-build option for the Dimension Dockerfile.
- This helps further support arm64 hosts (i.e. A1.Flex w/Oracle)
2021-12-08 04:48:59 -08:00
Christos Karamolegkos
ab60238518
Support encrypted matrix_synapse_macaroon_secret_key
...
This change forces ansible to decrypt the variable with ansible-vault if encrypted, to avoid the error '{"msg": "Unexpected templating type error occurred on ({{ matrix_synapse_macaroon_secret_key | password_hash('sha512') }}): secret must be unicode or bytes, not ansible.parsing.yaml.objects.AnsibleVaultEncryptedUnicode"}'
Every other variable in the playbook was found to have no problems with encryption.
The change has no negative impact on non-encrypted matrix_synapse_macaroon_secret_key.
2021-11-26 19:51:05 +02:00
Slavi Pantaleev
b4fb819481
Merge pull request #1403 from borisrunakov/rename-matrix-ma1sd-default-port
...
remove default from variable name
2021-11-17 10:35:54 +02:00
boris runakov
394ecb0acc
remove default from variable name
2021-11-16 21:14:28 +02:00
boris runakov
d3a9ec98de
refactoring
2021-11-16 21:03:21 +02:00
boris runakov
1ec67f49b0
replaced 8008 where possible
2021-11-15 22:43:05 +02:00
Slavi Pantaleev
c1bc7b9f93
Rename variables to prevent confusion
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1397
and https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1399
2021-11-15 14:56:11 +02:00
b
07496069c8
rellocating variables for consistency
2021-11-15 12:07:54 +02:00
b
7756cc4c8e
replace port 8048 with matrix_synapse_container_default_federation_port
2021-11-14 20:30:13 +02:00
borisrunakov
9688d071a8
fix matrix_synapse_account_threepid_delegates_email and matrix_synapse_account_threepid_delegates_msisdn ( #1370 )
...
* fix for string concatenation on matrix_synapse_account_threepid_delegates_email and matrix_synapse_account_threepid_delegates_msisdn
* .editorconfig should not be ignored
* Restore .gitignore
Co-authored-by: b <b@b>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2021-11-01 12:02:02 +02:00
b
dcda17595a
change port 8090 to matrix_ma1sd_default_port
2021-10-31 21:06:22 +02:00
Slavi Pantaleev
06bcdcf9d2
Merge pull request #1311 from HarHarLinks/master
...
add auto proxy synapse worker metrics
2021-10-25 09:21:11 +03:00
HarHarLinks
4209c4208c
add own variable for worker metrics
...
https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1311#issuecomment-945718866
2021-10-20 12:51:00 +02:00
Slavi Pantaleev
6937a2c0a9
Ensure password_hash salt is less than 16 chars
...
Also fixes the appservice and homeserver tokens for the Googlechat bridge,
so that they're not the same as the ones for the Hangouts bridge.
2021-10-13 07:48:59 +03:00
Luke
1dac525e63
Added Mautrix Google Chat
2021-10-12 11:45:04 +00:00
Slavi Pantaleev
fb709152f3
Add self-building support for mautrix-whatsapp
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1322
2021-10-12 10:02:07 +03:00
Slavi Pantaleev
b5d8444764
Add self-building support to matrix-bridge-appservice-webhooks
2021-10-01 16:37:37 +03:00
Slavi Pantaleev
2ec06b7477
Merge pull request #1242 from apmechev/add_beeper_linkedin_bridge
...
Add beeper LinkedIn bridge
2021-08-23 15:15:35 +03:00
Slavi Pantaleev
603ad7c52b
Remove (non-working) SQLite support from beeper-linkedin bridge
...
This bridge doesn't support SQLite anyway, so it's not necessary
to carry around configuration fields and code for migration from SQLite
to Postgres. There's nothing to migrate.
2021-08-23 15:12:19 +03:00
Slavi Pantaleev
13e660bffd
Add missing section separator
2021-08-23 15:02:28 +03:00
Alexandar Mechev
b13cf1871f
add code for LinkedIn Bridge
2021-08-21 17:32:45 +02:00
Slavi Pantaleev
9860fb4675
Upgrade Sygnal (v0.9.0 -> v0.10.1)
2021-08-20 17:48:24 +03:00
Slavi Pantaleev
46340fdf63
Simplify if condition
2021-08-15 08:45:21 +03:00
Michael Collins
4d57a41b3f
remove matrix_awx_enabled from these
2021-08-11 17:18:57 +08:00
Michael Collins
2e30802b87
use group variables instead
2021-08-11 15:21:09 +08:00
Slavi Pantaleev
421f85defa
Add self-building support to matrix-email2matrix
2021-08-04 15:03:45 +03:00
Slavi Pantaleev
dfa7b6e4fd
Merge pull request #1171 from BackInBash/patch-1
...
Updating to ma1sd v2.5.0
2021-07-28 11:09:39 +03:00
Slavi Pantaleev
676101e999
Minor fixups for ma1sd 2.5.0
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1171
2021-07-28 11:08:50 +03:00
Nate
f5d6b01b9f
Updated group_vars to update self_build based on matrix_architecture
2021-07-25 14:24:38 -07:00
Slavi Pantaleev
31244e7fcc
Merge pull request #1180 from Toorero/master
...
Fixed self-build functionality for mautrix-signal
2021-07-21 15:17:57 +03:00
Toorero
ead4b00c09
Reverted back to manual self-build detection
2021-07-21 14:05:21 +02:00
Toorero
3a28100131
Renamed matrix_lottieconverter to matrix_telegram_lottieconverter
2021-07-17 14:05:13 +02:00
Toorero
7f15787d54
Fixed mautrix-telegram selfbuild not working on non amd64 platforms
2021-07-16 18:58:55 +02:00
Toorero
f933ba14ae
Fixed self-build functionality for mautrix-signal and added self-build functionality for signald
2021-07-16 13:27:36 +02:00
Toorero
aa6398a948
Autoset self-build for mautrix-signal bridge
2021-07-14 22:46:17 +02:00
Slavi Pantaleev
b4d7ab0b53
Merge pull request #1153 from Cadair/worker_prom
...
Add worker metrics to prometheus exporter
2021-07-05 10:30:02 +03:00
Stuart Mumford
2aa457efcc
Use a prom variable and not a synapse role variable
2021-07-02 15:41:36 +00:00
Slavi Pantaleev
3777334778
Do not try to use TURNS when TLS disabled for Coturn
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1145
2021-07-02 17:05:08 +03:00
Slavi Pantaleev
8b146f083e
Disable turns when Let's Encrypt is used
...
Supersedes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1145
2021-07-02 17:00:40 +03:00
Aaron Raimist
19ed8d1d17
Upgrade mjolnir (0.1.17 -> 0.1.18) and implement self building
2021-07-02 00:10:59 -05:00
Raymond Coetzee
4e2780ff88
Add support for a prometheus postgres exporter
...
This commit introduces a new role that downloads and installs the
prometheus community postgres exporter https://github.com/prometheus-community/postgres_exporter .
A new credential is added to matrix_postgres_additional_databases that
allows the exporter access to the database to gather statistics.
A new dashboard was added to the grafana role, with some refactoring
to enable the dashboard only if the new role is enabled.
I've included some basic instructions for how to enable the role in
the Docs section.
In terms of testing, I've tested enabling the role, and disabling
it to make sure it cleans up the container and systemd role.
2021-05-27 20:13:29 +01:00
ewang
409cd2b9a3
Source port binding from group vars in line other components
2021-05-23 14:06:18 +02:00
Aaron Raimist
04548f8df2
Merge branch 'master' into hydrogen
2021-05-21 04:09:18 -05:00
Aaron Raimist
9437f78c9e
Build using custom config.json, add CSP, update to 0.1.53
2021-05-21 03:45:21 -05:00
Slavi Pantaleev
9a8a81fdb0
Disable OCSP stapling when self-signed certificates are used
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1073
2021-05-21 08:38:20 +03:00
Toni Spets
544915ff76
Add Heisenbridge
2021-05-19 10:42:21 +03:00
Aaron Raimist
ca361af616
Add Hydrogen
2021-05-15 04:23:36 -05:00
Slavi Pantaleev
f03adc83f1
Fix matrix_ma1sd_dns_overwrite_homeserver_client_value when not matrix_nginx_proxy_enabled
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1047
2021-05-11 08:50:04 +03:00
Slavi Pantaleev
e3fa3e12bc
Upgrade Synapse (1.31 -> 1.32.2)
2021-04-22 14:22:07 +03:00
Slavi Pantaleev
378fabf177
Revert "Upgrade Synapse (1.31 -> 1.32.1)"
...
This reverts commit 1fb54a37cb
.
Seems like it's been pulled or something. It used to exist, but not
anymore. Not sure what's going on.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1017
Related to
https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1010
2021-04-21 23:36:58 +03:00
Slavi Pantaleev
1fb54a37cb
Upgrade Synapse (1.31 -> 1.32.1)
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1010
2021-04-21 18:47:15 +03:00
Slavi Pantaleev
ca786cc343
Revert "Upgrade Synapse (1.31 -> 1.32)"
...
This reverts commit f825c7c263
.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1010
2021-04-20 23:40:55 +03:00
Slavi Pantaleev
f825c7c263
Upgrade Synapse (1.31 -> 1.32)
2021-04-20 17:47:34 +03:00
Slavi Pantaleev
adcecaffaf
Fix connectivity between prometheus and prometheus-node-exporter
...
Expected to have regressed after https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1008
This patch comes with its own downsides (as described in the comments
for matrix_prometheus_node_exporter_container_http_host_bind_port),
but at least there's:
- no security issue
- metrics remain readable from matrix-prometheus (even if the network metrics are inaccurate)
A better patch is certainly welcome.
2021-04-19 18:29:03 +03:00
Slavi Pantaleev
8da8979a24
Do not override matrix_prometheus_node_exporter_container_http_host_bind_port when matrix-nginx-proxy disabled
...
Not sure why this had been done in the first place.
It doesn't make any sense.
There's no relation between matrix-nginx-proxy and
prometheus-node-exporter.
2021-04-19 17:45:27 +03:00
Ahmad Haghighi
126fbbc0cc
fix typo
2021-04-12 17:23:55 +04:30
Ahmad Haghighi
f52a8b6484
use custom docker registry
2021-04-12 17:23:55 +04:30
Slavi Pantaleev
a1a0d91604
Make prometheus-node-exporter not overlap with Synapse metrics port
...
This was causing a port conflict when `matrix_nginx_proxy_enabled: false`.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/983
2021-04-06 12:23:43 +03:00
Slavi Pantaleev
1b55766927
Do not redefine matrix-postgres role vars in matrix-postgres-backup
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/868
2021-04-05 11:32:19 +03:00
Slavi Pantaleev
0a107dc0ce
Merge pull request #868 from foxcris/postgres-backup
...
- Added a postgres-backup role
2021-04-05 10:53:04 +03:00
foxcris
14b8e3a3ab
- fixed error with generator function
2021-04-05 09:31:32 +02:00
foxcris
2178f3612f
- matrix_postgres_backup_databases now uses more simple structure
2021-04-05 09:05:41 +02:00
Slavi Pantaleev
995c483856
Merge pull request #962 from aaronraimist/mjolnir
...
Add mjolnir
2021-04-03 10:45:29 +03:00
Aaron Raimist
1ecee625d5
Depend on more services, add a delay
2021-04-02 17:07:24 -05:00
Slavi Pantaleev
59699e0d98
Try to make Dimension wait for Synapse
...
Some people have reported Dimension failing to contact
matrix-nginx-proxy/Synapse on startup. This attempts to
delay Dimension startup some more.
2021-03-29 12:35:02 +03:00
Slavi Pantaleev
59ac8a5921
Make Dimension require matrix-nginx-proxy, if enabled
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/966
2021-03-25 11:56:34 +02:00
Slavi Pantaleev
5b7dbe8275
Make matrix-synapse wanted by matrix-nginx-proxy only if enabled
2021-03-25 08:51:26 +02:00
Slavi Pantaleev
5a4ea5f866
Make AWX enabling/disabling consistent with other playbook roles
...
That is:
- enabled in the role by default
- disabled in the compilation (playbook), if considered an optional
component
2021-03-24 14:02:53 +02:00
Slavi Pantaleev
b89936afba
Make bridges depend on matrix-nginx-proxy
...
We don't point them straight to Synapse anymore, but rather
to matrix-nginx-proxy, which forwards to Synapse (or something else).
2021-03-24 14:00:41 +02:00
Aaron Raimist
bab8b950ca
Add mjolnir
2021-03-23 22:46:08 -05:00
Slavi Pantaleev
06c74728eb
Move matrix_nginx_proxy_proxy_synapse_federation_api_enabled definition to the role
...
This variable was previously undefined in the role and was only getting
defined via `group_vars/matrix_servers`.
We now properly initialize it (and its good default value) in the role
itself.
2021-03-23 10:28:32 +02:00
Slavi Pantaleev
9a0222fa47
Add Sygnal support
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/683
2021-03-20 13:32:22 +02:00
foxcris
11cd1cb0fa
- removed matrix_postgres_backup_db_list variable
...
- add matrix_postgres_backup_databases to be build on top of matrix_postgres_additional_databases
- POSTGRES_DB is now directly set from matrix_postgres_backup_databases while building the templates/env-postgres-backup.j2
2021-03-16 11:40:16 +01:00
foxcris
43f7d9afb6
- removed dynamic building of the postgres db list an reused matrix_postgres_additional_databases in group_vars/matrix_servers as source for the list
...
- adjusted env-postgres-backup.j2 to use the new role specific variables
2021-03-16 10:49:04 +01:00
foxcris
ecc6bdb3ca
- changed variables names to use role specific one and redefine them using group_vars/matrix_servers
2021-03-16 10:18:26 +01:00
Slavi Pantaleev
011e95c1d2
Merge pull request #893 from GoMatrixHosting/master
...
matrix-awx - the GoMatrixHosting v0.3.0 initial PR
2021-03-16 08:40:15 +02:00
Yannick Goossens
20c6bd686e
Added the matrix_bot_go_neb_container_http_host_bind_port variable to allow the container to expose its listen port
2021-03-12 11:10:00 +01:00
Yannick Goossens
51e2547484
Added support for the Go-NEB bot
2021-03-11 19:23:01 +01:00
Slavi Pantaleev
a25b8135b8
Fix point overlap between matrix-domain and Jitsi
...
Mostly affects people who disable the integrated `matrix-nginx-proxy`.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/456
and more specifically 4d62a75f6f
.
2021-03-01 20:27:45 +02:00
Michael
33ec5710d9
0.2.1 revision
2021-02-28 22:21:40 +08:00
Slavi Pantaleev
1ef683d366
Make nginx proxy config (when disabled) obey matrix_federation_public_port
...
People who were disabling matrix-nginx-proxy (in favor of their own
nginx webserver) and also overriding `matrix_federation_public_port`,
found that the generated nginx configuration still hardcoded `8448`,
which forced their nginx server to use that, regardless of the fact
that `matrix_federation_public_port` was pointing elsewhere.
We now allow for the in-container federation port to be configurable,
and also automatically wire things properly.
2021-02-24 08:19:20 +02:00
Marcus Proest
2ca8211184
Merge remote-tracking branch 'upstream/master'
2021-02-19 19:02:48 +01:00
Marcus Proest
b99372a3c5
initial commit of mautrix-instagram role
2021-02-19 17:20:26 +01:00
Slavi Pantaleev
91c987ca7d
Merge pull request #872 from xangelix/add-mx-puppet-groupme-gh
...
Add mx-puppet-groupme support
2021-02-19 11:42:41 +02:00
Slavi Pantaleev
d94d0e2ca5
Merge pull request #456 from eMPee584/synapse-workers
...
Synapse workers
2021-02-19 11:40:36 +02:00
Slavi Pantaleev
217b4a8808
Release Synapse v1.27.0 to ARM32 via self-building
...
Related to: https://matrix.org/blog/2021/02/18/synapse-1-27-0-released#dropping-armv7-docker-images
2021-02-19 09:10:16 +02:00
Béla Becker
005f4d57f9
Remove mention of sqlite3 support for Etherpad
...
The official Etherpad Docker image has no support for sqlite3 databases.
2021-02-18 17:39:36 +01:00
Cody Neiman
c4e1209452
Merge branch 'master' into add-mx-puppet-groupme-gh
2021-02-17 13:52:37 -05:00
Slavi Pantaleev
daae74b074
Merge branch 'master' into synapse-workers
2021-02-16 17:31:40 +02:00
Marc Leuser
1434c371bd
safer port binding of etherpad docker container
...
don't bind to any host port if nginx_proxy is used
only bind to localhost if it's not used
2021-02-15 10:46:23 +01:00
Cody Neiman
e510481e84
Merge branch 'master' into add-mx-puppet-groupme-gh
2021-02-14 13:41:16 -05:00
Cody Neiman
c15d5a58a9
Make mx-puppet-groupme tokens unique
2021-02-14 13:37:12 -05:00
Slavi Pantaleev
5cfeae806b
Merge branch 'master' into synapse-workers
2021-02-14 13:00:57 +02:00
Slavi Pantaleev
894679750e
Merge pull request #862 from s-thom/nginx-additional
...
Add additional domains for Let's Encrypt certificates to be obtained
2021-02-14 11:05:25 +02:00
Cody Neiman
b900a4a3ba
Add groupme postgres
2021-02-13 00:50:00 -05:00
Cody Neiman
5a70a56ff0
Initial implementation
2021-02-12 23:13:30 -05:00
Slavi Pantaleev
2b47258c6c
Do not auto-expose metrics on matrix.DOMAIN/_synapse/metrics
...
.. and other documentation improvements.
2021-02-12 13:47:53 +02:00
Slavi Pantaleev
c8ab200cb1
Break dependency between matrix-prometheus and (matrix-prometheus-node-exporter, matrix-synapse)
2021-02-12 11:59:24 +02:00
Slavi Pantaleev
18e31526a8
Rename some variables
2021-02-12 11:59:24 +02:00
Peetz0r
989100b1c1
Grafana nginx proxy config
2021-02-10 22:54:14 +01:00
Peetz0r
eb5aa93e8a
Grafana
...
Also includes the dashboards for Synapse and for Node Exporter.
Again has only been tested on debian amd64 so far, but the grafana docker image is available for arm64 and arm32. Nice.
2021-02-10 22:54:14 +01:00
Peetz0r
e525970b39
Prometheus Node Exporter
...
Basic system stats, to show stuff the synapse metrics
can't show such as resource usage by bridges, etc
Seems to work fine as well.
This too has only been tested on debian amd64 so far
2021-02-10 22:54:14 +01:00
Peetz0r
13ef9e85cf
Prometheus
...
Initial attempt. Seems to work fine.
Only tested on debian amd64 so far
2021-02-10 22:54:14 +01:00
Stuart Thomson
064b2e533c
Add variable for extra domains to get LE certs for
...
I felt that adding another variable was probably going to be the easiest way to do this. I may end up adding another variable to enable this feature, for consistency with some of the other things.
2021-02-06 20:02:39 +13:00
Béla Becker
38bf1eda70
Etherpad Jitsi integration
2021-01-26 05:04:47 +01:00
Béla Becker
4b451ff782
Etherpad role
2021-01-26 05:04:47 +01:00
Slavi Pantaleev
d3ecc6f017
Fix bridges failing to upload media when Synapse workers are enabled
2021-01-25 13:55:08 +02:00
Slavi Pantaleev
4d62a75f6f
Get matrix-corporal to play nicely with a Synapse worker setup
...
We do this by creating one more layer of indirection.
First we reach some generic vhost handling matrix.DOMAIN.
A bunch of override rules are added there (capturing traffic to send to
ma1sd, etc). nginx-status and similar generic things also live there.
We then proxy to the homeserver on some other vhost (only Synapse being
available right now, but repointing this to Dendrite or other will be
possible in the future).
Then that homeserver-specific vhost does its thing to proxy to the
homeserver. It may or may not use workers, etc.
Without matrix-corporal, the flow is now:
1. matrix.DOMAIN (matrix-nginx-proxy/matrix-domain.conf)
2. matrix-nginx-proxy/matrix-synapse.conf
3. matrix-synapse
With matrix-corporal enabled, it becomes:
1. matrix.DOMAIN (matrix-nginx-proxy/matrix-domain.conf)
2. matrix-corporal
3. matrix-nginx-proxy/matrix-synapse.conf
4. matrix-synapse
(matrix-corporal gets injected at step 2).
2021-01-25 09:46:41 +02:00
Slavi Pantaleev
63301b0ef1
Improvements around Synapse worker/metrics ports exposure
...
There was a `matrix_nginx_proxy_enabled|default(False)` check, but:
- it didn't seem to work reliably for some reason (hmm)
- referring to a `matrix_nginx_proxy_*` variable from within the
`matrix-synapse` role is not ideal
- exposing always happened on `127.0.0.1`, which may not be good enough
for some rarer setups (where the own webserver is external to the host)
2021-01-25 08:25:43 +02:00
Slavi Pantaleev
5ca68210cd
Do not handle /_matrix/federation on client-server port, nor /_matrix/client stuff on federation port
...
I guess it didn't hurt to do it until now, but it's not great serving
federation APIs on the client-server API port, etc.
matrix-corporal doesn't work yet (still something to be solved in the
future), but its firewalling operations will also be sabotaged
by Client-Server APIs being served on the federation port (it's a way to get around its firewalling).
2021-01-24 22:22:57 +02:00
Marcel Partap
183adec3d8
Merge remote-tracking branch 'origin/master' into synapse-workers
2021-01-23 15:04:11 +01:00
Panagiotis Georgiadis
f10e3fef0d
Merge branch 'master' into irc
2021-01-22 20:30:24 +00:00
Panagiotis Georgiadis
e502ee33da
Selfbuild appservice-irc bridge
2021-01-22 21:28:53 +01:00
Slavi Pantaleev
f9c1d62435
Fix Postgres database (-alpine) failing to start on ARM32
2021-01-22 13:52:55 +02:00
Slavi Pantaleev
95346f3117
Reorganize Postgres access (breaking change)
...
In short, this makes Synapse a 2nd class citizen,
preparing for a future where it's just one-of-many homeserver software
options.
We also no longer have a default Postgres superuser password,
which improves security.
The changelog explains more as to why this was done
and how to proceed from here.
2021-01-22 13:26:12 +02:00
Slavi Pantaleev
024a23ed17
Upgrade mautrix-facebook to the new Postgres-only version
...
I had intentionally held it back in 39ea3496a4
until:
- it received more testing (there were a few bugs during the
migration, but now it seems OK)
- this migration guide was written
2021-01-20 10:12:51 +02:00
Slavi Pantaleev
28d86e3aaa
Initial work on support for matrix-corporal v2
2021-01-16 23:47:14 +02:00
Panagiotis Georgiadis
a66a604e53
Selfbuild appservice-slack bridge
2021-01-14 01:29:11 +01:00
Slavi Pantaleev
48b6487d41
Use ready-made image for mautrix-telegram on arm64
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/793
2021-01-13 22:40:47 +02:00
Slavi Pantaleev
105354a052
Remove useless comment
2021-01-13 17:56:10 +02:00
Panagiotis Georgiadis
fd540d8592
Enable Telegram self-building
2021-01-13 16:51:45 +01:00
Marcel Partap
cd8100544b
Merge remote-tracking branch 'origin/master' into synapse-workers
...
Sync with upstream
2021-01-08 20:58:50 +01:00
teutat3s
a2f6adbeaf
Fix appservice-slack default db: nedb
2021-01-06 22:00:49 +01:00
Slavi Pantaleev
6b1e25d843
Do not create matrix_bridge_sms Postgres database
...
That bridge only supports its own file-based database,
so preparing a Postgres database for it is pointless.
2021-01-03 10:21:59 +02:00
Slavi Pantaleev
df8d9cfd34
Remove some TODOs
...
The answer to these is: it's good to have them in both places.
The role defines the obvious things it depends on (not knowing
what setup it will find itself into), and then
`group_vars/matrix_servers` "extends" it based on everything else it
knows (the homeserver being Synapse, whether or not the internal
Postgres server is being used, etc.)
2021-01-03 07:46:55 +02:00
Sabine Laszakovits
ffb837d4bc
made the bridge use the default postgres db
2021-01-02 00:39:11 +01:00
Sabine Laszakovits
a06c58c753
Merge branch 'master' into signal
2021-01-01 21:05:00 +01:00
David Gnedt
befffa926b
Fix concatenation of additional databases
...
Otherwise the postgres upgrade fails with the following error:
Unexpected templating type error occurred on ({{
[matrix_postgres_connection_username]
+
matrix_postgres_additional_databases|map(attribute='username')
}}
): can only concatenate list (not "generator") to list
2020-12-23 19:24:45 +01:00
Slavi Pantaleev
ea804f2f9f
Do not use underscore in salts passed to sha512
...
Some Ansible installations choke on it, it seems.
Similar to 9f00970c90
2020-12-23 12:59:48 +02:00
Slavi Pantaleev
9f00970c90
Do not use salts longer than 16 characters
...
We've hit this problem before as well. Certain Ansible installations
choke on it.
2020-12-23 12:31:52 +02:00
Slavi Pantaleev
f19b29846d
Merge pull request #740 from jdreichmann/postgres-per-default
...
postgres: create databases for all services
2020-12-23 11:00:41 +02:00
Slavi Pantaleev
ad1425eee4
Add pgloader self-building support (for ARM)
2020-12-23 09:08:54 +02:00
Slavi Pantaleev
715bdf2c64
Add support for automatic (nedb -> Postgres) migration to mx-appservice-irc
2020-12-22 19:32:43 +02:00
Slavi Pantaleev
815a80c290
Fix alignment issues
2020-12-22 17:16:56 +02:00
Slavi Pantaleev
15f4cc924d
Rename variables (_database_db_name -> _database_name)
2020-12-22 17:10:02 +02:00
Slavi Pantaleev
69cc2145d2
Add support for automatic (Postgres -> SQLite) migration to mx-puppet-steam
2020-12-22 16:51:59 +02:00
Slavi Pantaleev
ed159cc742
Move matrix_architecture to matrix-base
...
We were only defining this in `group_vars/matrix_servers`, which is
inconsistent with how we normally do things.
2020-12-17 11:33:18 +02:00
Slavi Pantaleev
a197968b7f
Make matrix-registration use Postgres by default
...
Now that 0.7.2 is out, the Docker image supports Postgres
and we can do the (SQLite -> Postgres) migration.
I've also found out that we needed to fix up the `tokens.ex_date` column
data type a bit to prevent matrix-registration from raising exceptions
when comparing `datetime.now()` with `ex_date` coming from the database.
Example:
> File "/usr/local/lib/python3.8/site-packages/matrix_registration/tokens.py", line 58, in valid
> expired = self.ex_date < datetime.now()
> TypeError: can't compare offset-naive and offset-aware datetimes
2020-12-15 23:19:56 +02:00
Slavi Pantaleev
dd797ba6a7
Fix Postgres database importing/upgrading conflicts
...
We were running into conflicts, because having initialized
the roles (users) and databases, trying to import leads to
errors (role XXX already exists, etc.).
We were previously ignoring the Synapse database (`homeserver`)
when upgrading/importing, because that one gets created by default
whenever the container starts.
For our additional databases, it's a similar situation now.
It's not created by default as soon as Postgres starts with an empty
database, but rather we create it as part of running the playbook.
So we either need to skip those role/database creation statements
while upgrading/importing, or to avoid creating the additional database
and rely on the import for that. I've gone for the former, because
it's already similar to what we were doing and it's simpler
(it lets `setup_postgres.yml` be the same in all scenarios).
2020-12-14 22:28:20 +02:00
Slavi Pantaleev
2a502db239
Add (SQLite + Postgres) support and automatic migration to matrix-dimension
2020-12-14 21:01:47 +02:00
Slavi Pantaleev
8d74593878
Prepare matrix-registation for (SQLite + Postgres) support
...
Auto-migration and everything seems to work. It's just that
matrix-registration cannot load the Python modules required
for talking to a Postgres database.
Tracked here: https://github.com/ZerataX/matrix-registration/issues/44
Until this gets fixed, we'll continue default to 'sqlite'.
2020-12-14 18:58:37 +02:00
Slavi Pantaleev
3ab7dd1abe
Potentially add matrix-postgres.service as required for bridges, etc.
2020-12-14 17:22:31 +02:00
Slavi Pantaleev
af3ea67bba
Add (SQLite + Postgres) support and automatic migration to matrix-ma1sd
2020-12-14 17:16:25 +02:00
Slavi Pantaleev
e3a0c9adda
Add (Postgres + SQLite) support to matrix-reminder-bot
...
This has been tested and appears to work.
2020-12-14 15:02:11 +02:00
Slavi Pantaleev
b9a04a7f95
Rename some remaining matrix_*_postgres_*
vars back to matrix_*_database_*
...
Looks like there are some that I missed in 087dbe4ddc
2020-12-14 14:42:18 +02:00
Slavi Pantaleev
087dbe4ddc
Rename matrix_*_postgres_*
back to matrix_*_database_*
...
I was thinking that it makes sense to be more specific,
and using `_postgres_` also separated these variables
from the `_database_` variables that ended up in bridge configuration.
However, @jdreichmann makes a good point
(https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/740#discussion_r542281102 )
that we don't need to be so specific and can allow for other engines (like MySQL) to use these variables.
2020-12-14 13:02:47 +02:00
Slavi Pantaleev
2848322461
Remove some remaining _database_password
usage in favor of _postgres_pasword
...
The only one that remains is `matrix_synapse_database_password`, but
that's something old and should be dealt with separately in the future
(unless it remains as it is).
2020-12-14 12:19:35 +02:00
Slavi Pantaleev
6a2dd8088c
Fix typo (matrix_telegram_facebook_postgres_hostname -> matrix_mautrix_telegram_postgres_hostname)
...
Related to 9bf8ce878e
.
2020-12-14 12:13:10 +02:00
Slavi Pantaleev
05dd091133
Rename _database_hostname
to _postgres_hostname
...
Should have been done during 2a99e84b5b
, but I've missed it.
Because of this, 9bf8ce878e
was also incomplete and would have caused
an error.
2020-12-14 12:11:41 +02:00
Slavi Pantaleev
2a99e84b5b
Rename Postgres-related variables (matrix*database_*
-> matrix*postgres_*
)
...
`matrix_SERVICE_database_engine` remains as it is - the only one with a
`_database_` infix. Postgres-related ones move to `_postgres_`.
2020-12-14 11:19:18 +02:00
Slavi Pantaleev
c0edacbefd
Fix matrix_postgres_additional_databases syntax problems
2020-12-14 11:17:12 +02:00
Slavi Pantaleev
d91aa5a060
Do not introduce sub-variables exposing implementation details
2020-12-14 10:52:07 +02:00
transcaffeine
b217a2ed69
postgres: set default in playbook to postgres but fallback to sqlite
2020-12-14 07:54:24 +01:00
Slavi Pantaleev
dd994995bc
Simplify password for additional Postgres databases
...
Using the result of `password_hash` works for creating them,
but authentication seems to be failing with some tools like pgloader.
It's possible that we're not escaping things properly somewhere.
Ideally, it'd be nice to solve that. But the easier (and still
relatively safe/good) solution is to just turn that password hash
into a UUID that's safe for passing around without worrying about
escaping.
2020-12-14 01:22:23 +02:00
Slavi Pantaleev
a374d309c8
Make appservice-discord support both SQLite and Postgres
...
People can toggle between them now. The playbook also defaults
to using SQLite if an external Postgres server is used.
Ideally, we'd be able to create databases/users in external Postgres
servers as well, but our initialization logic (and `docker run` command,
etc.) hardcode too many things right now.
2020-12-14 00:52:25 +02:00
Slavi Pantaleev
46a4034d3e
Use "password" for additional Postgres databases, not "pass"
...
Being more explicit sounds better.
2020-12-14 00:43:03 +02:00
Slavi Pantaleev
d251764c16
Fix syntax issues in matrix_postgres_additional_databases
...
Quotes are necessary around dictionary field names.
There was a missing `}` as well.
2020-12-13 22:37:04 +02:00
Slavi Pantaleev
0641106370
Allow username of additional Postgres databases to be different
...
We'll most likely use one that matches the database name, but
it's better to have it configurable.
2020-12-13 22:37:04 +02:00
transcaffeine
d9f4914e0d
WIP: postgres: create databases for all services
...
If a service is enabled, a database for it is created in postgres with a uniqque password. The service can then use this database for data storage instead of relying on sqlite.
2020-12-10 18:26:22 +01:00
Slavi Pantaleev
c07c927d9f
Automatically enable openid listeners when ma1sd enabled
...
ma1sd requires the openid endpoints for certain functionality.
Example: 90b2b5301c/src/main/java/io/kamax/mxisd/auth/AccountManager.java (L67-L99)
If federation is disabled, we still need to expose these openid APIs on the
federation port.
Previously, we were doing similar magic for Dimension.
As per its documentation, when running unfederated, one is to enable
the openid listener as well. As per their recommendation, people
are advised to do enable it on the Client-Server API port
and use the `federationUrl` variable to override where the federation
port is (making federation requests go to the Client-Server API).
Because ma1sd always uses the federation port (unless you do some
DNS overwriting magic using its configuration -- which we'd rather not
do), it's better if we just default to putting the `openid` listener
where it belongs - on the federation port.
With this commit, we retain the "automatically enable openid APIs" thing
we've been doing for Dimension, but move it to the federation port instead.
We also now do the same thing when ma1sd is enabled.
2020-12-08 16:59:20 +02:00
Slavi Pantaleev
a5ae7e9ef0
Add self-building support to matrix-corporal
2020-12-04 01:48:08 +02:00
Marcel Partap
b73ac965ac
Merge remote-tracking branch 'origin/master' into synapse-workers
2020-12-01 21:24:26 +01:00
Slavi Pantaleev
04da1bddf7
Update matrix-mautrix-facebook config a bit
...
This also disables presence if it's disabled for Synapse.
2020-12-01 11:55:18 +02:00
Slavi Pantaleev
b354155d7c
Make JVB websockets reverse-proxying work
2020-11-27 17:57:15 +02:00
Slavi Pantaleev
d235335507
Do not mount /matrix/ssl into matrix-coturn when matrix_ssl_retrieval_method is 'none'
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/734
Similar to 12867e9f18
, but for `matrix-coturn` (not
`matrix-nginx-proxy`).
2020-11-26 10:08:54 +02:00
anonym
d4ef751052
Update matrix_servers
2020-11-26 01:30:08 +01:00
anonym
732f57cbd9
Note about the max length of the postgres password
2020-11-26 01:24:43 +01:00
Marcel Partap
4678c5d7bd
Merge remote-tracking branch 'origin/master' into synapse-workers
...
Also, replace vague FIXME by a proper NOTE on the complete
story of the user_dir endpoints..
2020-11-11 21:26:08 +01:00
Slavi Pantaleev
b5435db338
Fix syntax error in group_vars/matrix_servers
2020-11-11 00:22:09 +02:00
Slavi Pantaleev
4d12a6f8e9
Merge pull request #681 from scottcrossen/slc/ddclient
...
Dynamic DNS
2020-11-10 23:54:21 +02:00
Slavi Pantaleev
de0987e806
Remove unnecessary variable definition
...
Related to #681 (Github Pull Request)
2020-11-10 23:51:38 +02:00
Slavi Pantaleev
1427286cec
Integrate matrix-dynamic-dns with matrix-nginx-proxy without causing a dependency
...
We'd like the roles to be self-contained (as much as possible).
Thus, the `matrix-nginx-proxy` shouldn't reference any variables from
other roles. Instead, we rely on injection via
`group_vars/matrix_servers`.
Related to #681 (Github Pull Request)
2020-11-10 23:49:36 +02:00
Slavi Pantaleev
73d5faa1f9
Fix variable name typo
2020-11-10 23:30:38 +02:00
Scott Crossen
59bb6b2971
responded to reviewer comments
2020-11-09 13:32:58 -08:00
Scott Crossen
e894befd87
Updates to reviewer comments
2020-11-07 17:53:13 -08:00
Slavi Pantaleev
56ebeb1ae2
Revert "Restore self-building on ARM for Synapse for now"
...
This reverts commit 7d211b71e2
.
The multi-arch images are now available, as discussed in #699 (Github Issue).
2020-10-29 07:35:53 +02:00
Marcel Partap
cce90b187a
synapse workers: fix undefined variable cases when removing workers
2020-10-28 23:09:21 +01:00
Slavi Pantaleev
9a46647010
Make https://matrix.DOMAIN/ redirect to https://element.DOMAIN/
...
Fixes #696 (Github Issue)
2020-10-28 10:39:12 +02:00
Marcel Partap
2d1b9f2dbf
synapse workers: reworkings + get endpoints from upstream docs via awk
...
(yes, a bit awkward and brittle… xD)
2020-10-28 07:13:19 +01:00
Slavi Pantaleev
5a7d265997
Fix Synapse Admin not working due to unexposed Synapse Admin APIs
...
Regression since 63a49bb2dc
.
Related to #685 (Github Issue).
We now automatically expose the APIs when Synapse Admin is enabled.
2020-10-27 20:33:37 +02:00
Slavi Pantaleev
7d211b71e2
Restore self-building on ARM for Synapse for now
...
While v1.22.0 supposedly has multi-arch Docker images
(thanks to https://github.com/matrix-org/synapse/pull/7921 ),
I can't them on Docker Hub yet, so I'm backing out of this change
for now and letting people fall back to self-building there.
2020-10-27 14:32:32 +02:00
Slavi Pantaleev
70f0b97a0a
Upgrade Synapse (v1.21.2 -> v1.22.0)
2020-10-27 14:24:02 +02:00
Sabine Laszakovits
c36e1355cf
cleanup
2020-10-25 20:46:57 +01:00
Sabine Laszakovits
8ebc39dea0
fixed dependencies of bridge service (not ideal, but correct)
2020-10-25 20:46:32 +01:00
Sabine Laszakovits
9b890e9ced
moved some settings from role to group_vars
2020-10-25 20:45:24 +01:00
Sabine
7a54e11090
started moving settings to group_vars
2020-10-24 12:15:03 +02:00
Marcel Partap
93a8ea7e4a
Merge remote-tracking branch 'master' into feature/add-worker-support
2020-10-11 20:59:05 +02:00
Slavi Pantaleev
263727095d
Merge pull request #657 from cnvandijk/feature-client-well-known
...
Client well known compatibility
2020-09-28 09:19:25 +03:00
Slavi Pantaleev
172bf24df7
Enable self-building of matrix-synapse-admin on non-amd64
...
Related to #658 (Github Issue).
2020-09-28 09:06:39 +03:00
Chris van Dijk
f6b0f0a477
Rename matrix_riot_jitsi_preferredDomain and matrix_riot_e2ee_default to Element
2020-09-26 16:24:09 +00:00
Max Klenk
9a3d84b931
Merge branch 'master' into feature/add-worker-support
2020-09-10 13:57:11 +02:00
Max Klenk
a25a429a52
add redis support
2020-09-10 13:39:00 +02:00
Slavi Pantaleev
da38a7869f
Add matrix-registration support
2020-09-01 13:46:05 +03:00
Slavi Pantaleev
b117dc0cb7
Fix self-check certificate validation when not self-signed
2020-09-01 11:44:44 +03:00
Slavi Pantaleev
9952ec6c16
Upgrade Synapse (v1.18.0 -> v1.19.0)
2020-08-17 17:02:40 +03:00
Slavi Pantaleev
296bd6e211
Fix variable name typo
2020-07-22 12:04:49 +03:00
Slavi Pantaleev
b2ae669566
Add synapse-admin support
...
Fixes #562 (Github Issue)
2020-07-22 08:10:26 +03:00
Slavi Pantaleev
78b1ef9a5f
Add support for matrix-reminder-bot
2020-07-20 14:13:08 +03:00
Slavi Pantaleev
c6ab1c6a90
Riot is now Element
...
Fixes #586 (Github Issue)
2020-07-17 11:31:20 +03:00
Hugues Morisset
57f498217a
Add mx-puppet-steam
2020-07-01 21:01:00 +02:00
Hugues Morisset
42e7f5e9bc
Add mx-puppet-discord
2020-07-01 13:31:31 +02:00
Slavi Pantaleev
9686a0fc5b
Expose mx-puppet-twitter port when matrix-nginx-proxy disabled
2020-06-30 17:39:19 +03:00
Slavi Pantaleev
744667b270
Merge branch 'master' into mx-puppet-twitter
2020-06-30 17:37:19 +03:00
Slavi Pantaleev
31f9e7bbea
Merge pull request #551 from jdreichmann/feat-mx-puppet-instagram
...
Add mx-puppet-instagram
2020-06-30 17:33:37 +03:00
Tulir Asokan
13186a1ddc
Add mx-puppet-twitter
...
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2020-06-29 15:28:43 +03:00
Slavi Pantaleev
635f385971
Use pre-built arm64 image for ma1sd
...
ma1sd 2.4.0 announced experimental support for arm64.
We're making use of those arm64 images instead of self-building.
2020-06-29 14:53:23 +03:00
teutat3s
0162fe31d1
Re-enable ma1sd user directory search
2020-06-28 21:47:39 +02:00
jdreichmann
2073cd6cae
mx-puppet-instagram: change tokens appservice<>homeserver in order to not collide with mx-puppet-slack
2020-06-28 10:40:14 +02:00
Slavi Pantaleev
19b9a1b16c
Expose mautrix-hangouts port if matrix-nginx-proxy is disabled
2020-06-28 09:01:48 +03:00
jdreichmann
0fea35cdd2
mx-puppet-instagram: add role
2020-06-27 15:23:21 +02:00
Slavi Pantaleev
10b3ceff72
Make Matrix federation port configurable
...
Fixes #523 (Github Issue).
2020-06-09 08:29:03 +03:00
Slavi Pantaleev
831c3f4e64
Fix certbot/cerbot image pulling for ARM32 and ARM64
...
Related to #529 (Github Issue).
2020-06-09 07:54:42 +03:00
Slavi Pantaleev
ab32f6adf6
Add self-building support to matrix-mailer (exim-relay)
2020-06-08 09:52:34 +03:00
benkuly
1ffa4a326c
matrix-sms-bridge:
...
added docs, added seperate service for database, pr comments
2020-05-23 13:14:24 +02:00
benkuly
2d75fca257
added matrix-sms-bridge
2020-05-22 13:50:59 +02:00
Slavi Pantaleev
07ff116266
Do not send User Directory search requests to ma1sd for now
...
We can undo this once https://github.com/ma1uta/ma1sd/issues/44 gets
resolved.
2020-05-19 12:57:19 +03:00
Slavi Pantaleev
308fc9c60a
Fix webhooks service address when matrix-nginx-proxy disabled
...
Fixes #494 (Github Issue).
2020-05-10 09:52:55 +03:00
Slavi Pantaleev
8cdf3a24f9
Fix variable name typo
2020-04-23 22:13:50 +03:00
Rodrigo Belem
4149e03b69
Initial mx-puppet-slack bridge role
2020-04-23 09:06:08 -04:00
Slavi Pantaleev
272888d917
Merge pull request #462 from cnvandijk/feature-dimension-unfederated
...
Add support for running dimension in an unfederated environment
2020-04-22 22:47:14 +03:00
Chris van Dijk
3f4bc9b881
Move config supprt for unfederated dimension into group_vars
2020-04-22 19:23:56 +02:00
Horvath Gergely
b5844d2395
shortening line based on @spantaleev 's comment
2020-04-19 13:31:36 +02:00
Horvath Gergely
bd61598faf
add experimental(?) architecture support for arm32 and arm64
...
the changes are necessary because certbot images are tagged, so docker does not recognize the necessary architecture
2020-04-18 22:55:19 +02:00
Slavi Pantaleev
515160f0d7
Fix STUN server URL for jitsi/web (turns -> stun)
...
Discussed in #446 (Github Pull Request).
2020-04-09 19:09:04 +03:00
Rodrigo Belem
64de103dff
Add global var to control skype image self build
2020-04-09 11:03:06 -04:00
Slavi Pantaleev
2f601a4aee
Merge pull request #446 from skoal/master
...
Jitsi related firewall and port changes
2020-04-09 16:14:06 +03:00
Slavi Pantaleev
e6ebfbf8cc
Prevent conflict between Whatsapp and Skype bridge tokens
...
Fixes an error like this:
> synapse.config._base.ConfigError: Cannot reuse as_token across application services
2020-04-09 16:07:36 +03:00
skoal
0713570e2f
Update matrix_servers
...
turn tls port update
2020-04-09 14:40:32 +02:00
Slavi Pantaleev
7035af87d8
Add support for Jitsi discovery for Riot via /.well-known/matrix/client
...
This will not work yet, as no version of Riot currently supports it.
It's expected to land in riot-web v1.5.16 via matrix-org/matrix-react-sdk#4348 .
2020-04-09 09:58:35 +03:00
Slavi Pantaleev
59d05ad72c
Merge pull request #441 from Jozian/skype
...
Initial mx-puppet-skype bridge role
2020-04-09 09:24:11 +03:00
Slavi Pantaleev
67a5ef97ba
Fix missing "stun:" prefix for jitsi/web STUN server URLs
...
Hopefully fixes an error like this (which I haven't been able to
reproduce, but..):
> [modules/xmpp/strophe.util.js] <Object.i.Strophe.log>: Strophe: Error: Failed to construct 'RTCPeerConnection': 'matrix.DOMAIN' is not one of the supported URL schemes 'stun', 'turn' or 'turns'.
2020-04-09 09:16:10 +03:00
Rodrigo Belem
1107207147
Initial mx-puppet-skype bridge role
2020-04-08 19:25:21 -04:00
Slavi Pantaleev
61fffa169c
Use Jitsi STUN servers instead of Google ones
...
These are some new defaults that we switch to, to follow upstream
changes:
- https://github.com/jitsi/docker-jitsi-meet/commit/264df04
- 3121494d4b
2020-04-08 19:08:15 +03:00
Slavi Pantaleev
845f5f007b
Make Synapse use ma1sd (if enabled) for threepid registration
2020-04-03 10:08:37 +03:00
Marcel Partap
874e2e1fc0
Rename variables (s/mxisd/ma1sd/) and adapt roles
2020-04-02 11:31:38 +02:00
Slavi Pantaleev
e06ac41db1
Do not try to obtain jitsi.DOMAIN certificate if Jitsi is disabled
2020-03-24 16:21:26 +02:00
Slavi Pantaleev
d605b219a2
Manage Jitsi configuration by ourselves for most components
...
We do this for 2 reasons:
- so we can control things which are not controllable using environment
variables (for example `stunServers` in jitsi/web, since we don't wish
to use the hardcoded Google STUN servers if our own Coturn is enabled)
- so playbook variable changes will properly rebuild the configuration.
When using Jitsi environment variables, the configuration is only built
once (the first time) and never rebuilt again. This is not the
consistent with the rest of the playbook and with how Ansible operates.
We're not perfect at it (yet), because we still let the Jitsi containers
generate some files on their own, but we are closer and it should be
good enough for most things.
Related to #415 (Github Pull Request).
2020-03-24 09:35:21 +02:00
Slavi Pantaleev
cdd9ee1962
Add Jitsi support
2020-03-23 17:19:15 +02:00
Slavi Pantaleev
2b85fde103
Rename some variables for consistency
2020-03-15 10:15:27 +02:00
Slavi Pantaleev
8fe97abe7d
Wire matrix_container_images_self_build to self_build variables via group_vars/matrix_servers
...
This keeps the roles cleaner and more independent of matrix-base,
which may be important for people building their own playbook
out of the individual roles and not using the matrix-base role.
2020-03-15 10:10:41 +02:00
Horvath Gergely
310aa685f9
refactor based on Slavi's requests
2020-03-08 00:24:00 +01:00
Horvath Gergely
d53d63ab07
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy into raspberry-pi
2020-03-07 13:57:44 +01:00
Slavi Pantaleev
4a06e52660
Fix matrix-appservice-slack configuration when matrix-nginx-proxy is disabled
2020-03-03 17:48:51 +02:00
Slavi Pantaleev
be6c048abe
Remove useless matrix_appservice_webhooks_webhooks_port
...
In relation to #392 (Github Issue)
2020-03-03 12:38:26 +02:00
Horvath Gergely
a096eafb45
add possibility to install synapse on raspberry pi
2020-02-17 21:48:48 +01:00
teutates
2c4eef72c3
fix slack bridge: salt too large, sha512_crypt requires <= 16 chars
2020-02-10 02:47:26 +01:00
joao-p-marques
a0b313b3d1
fix invalid password salt on slack bridge
2020-02-06 00:25:26 +00:00
Zach Mertes
e0defd4d4c
Fix invalid password salts for slack webhooks
2020-01-24 05:06:36 -05:00
Slavi Pantaleev
2c04384e8e
Synchronize config with the one from Synapse 1.9.0
...
Related to #355 .
2020-01-23 15:47:53 +02:00
Björn Marten
50bf8c8dd7
Add matrix-appservice-webhooks role.
2020-01-13 17:20:49 +01:00
Slavi Pantaleev
bd38861179
Add support for automatic Double Puppeting for all Mautrix bridges
2020-01-12 20:28:36 +02:00
Aaron Raimist
2ea507e2ea
Don't make it Dimension specific
2019-12-09 22:23:56 -06:00
Aaron Raimist
79d1576648
Allow Synapse manhole to be enabled
...
Can you double check that the way I have this set only exposes it locally? It is important that the manhole is not available to the outside world since it is quite powerful and the password is hard coded.
2019-12-05 00:07:15 -06:00
Slavi Pantaleev
65da600426
Merge branch 'master' into master
2019-08-21 07:34:20 +03:00
Slavi Pantaleev
c8a4d59a81
Merge pull request #251 from Munfred/master
...
Add mautrix-hangouts bridge role and documentation
2019-08-21 07:15:14 +03:00
Slavi Pantaleev
e4b67fdb6b
Fix typo
2019-08-20 09:07:54 +03:00
microchipster
0585889d5a
add hangouts bridge by copying facebook bridge and find-replacing
2019-08-06 05:27:40 +00:00
Slavi Pantaleev
4be35822dd
Add Email2Matrix support
2019-08-05 13:09:49 +03:00
kingoftheconnors
177ec295b4
Fixed matrix-appservice-slack docker command problems
2019-07-27 14:25:13 -04:00
kingoftheconnors
49766c5dac
Added Slack role
2019-07-26 21:37:21 -04:00
Slavi Pantaleev
8529efcd1c
Make Discord bridge configuration playbook-managed
...
Well, `config.yaml` has been playbook-managed for a long time.
It's now extended to match the default sample config of the Discord
bridge.
With this patch, we also make `registration.yaml` playbook-managed,
which leads us to consistency with all other bridges.
Along with that, we introduce `./config` and `./data` separation,
like we do for the other bridges.
2019-06-26 10:35:00 +03:00