Suguru Hirahara
d8a638f518
Update roles/custom/matrix-bridge-mx-puppet-*: fix domain names and use same comments
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 year ago
Suguru Hirahara
9089963fa8
Replace server.com with example.com
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 year ago
Suguru Hirahara
ff4155e033
Replace yourserver.com with example.com
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 year ago
Slavi Pantaleev
9f2eff2ac7
Respect `devture_systemd_docker_base_docker_service_name`
Related to 0241c71a4c
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3270#issuecomment-2143782962
With this change, it should be possible for people to adjust the Docker
dependency from `docker.service` to something else (e.g. `pkg-ContainerManager-dockerd.service`),
or to completely eliminate it by setting `devture_systemd_docker_base_docker_service_name` to an empty string.
This makes it easier for people to use the playbook against a Synology DSM server.
1 year ago
Slavi Pantaleev
7891268873
Do not hardcode https:// in all remaining places, refer to matrix_static_files_scheme
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3333
1 year ago
Slavi Pantaleev
82de4581e3
Add support for disabling presence on matrix-bridge-mx-puppet-discord
2 years ago
Slavi Pantaleev
6d0ecb0269
Move matrix-bridge-mx-puppet-discord to its own container network
2 years ago
Slavi Pantaleev
7ec6fd3dfe
Make bridges/bots use matrix_addons_homeserver_client_api_url (instead of matrix_homeserver_container_url)
2 years ago
Samuel Meenzen
c846ed199b
Annotate version numbers with renovate metadata
2 years ago
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).
2 years ago
Slavi Pantaleev
eedf5ad94d
Remove some hardcoded matrix-postgres references
3 years ago
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.
3 years ago
Slavi Pantaleev
c73680712b
Fix (suppress) var-naming ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#var-naming
We don't really fix these, but just suppress them,
because they're like that intentionally.
We try to name variables in a way that is consistent with the
configuration key they control. If the upstream component uses
camelCase, we also need to include camelCase in the variable name.
3 years ago
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
3 years ago
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
3 years ago
Aine
e149f33140
add/unify 'Project source code URL' link across all roles
3 years ago
Daniel Sonck
894669eca2
Change back to working original mx-puppet-slack
Now that v0.1.1 is out, which depends on the functional matrix-slack-parser
it works again.
3 years ago
Slavi Pantaleev
9fc60d8c86
Revert "Change back to original mx-puppet-slack"
This reverts commit fcfd00bcb4 .
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1808
Reverts https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1809
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1810
3 years ago
Daniel Sonck
fcfd00bcb4
Change back to original mx-puppet-slack
Closes : #1808
3 years ago
Daniel Sonck
3f45805fd2
Change back to original mx-puppet-discord
Closes : #1801
3 years ago
Slavi Pantaleev
999c717cf4
Revert "Temporarily switch to Myned-maintained fork of mx-puppet-discord/mx-puppet-slack"
This reverts commit 0103d92df4 .
The same fix has now been merged upstream
(https://gitlab.com/beeper/mx-puppet-monorepo/-/merge_requests/35 ), so
we don't need to use a fork anymore.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1719
4 years ago
Slavi Pantaleev
0103d92df4
Temporarily switch to Myned-maintained fork of mx-puppet-discord/mx-puppet-slack
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1719
We're using a pinned commit of this fork, which patches up the npm/yarn
lock files, so that self-building of the Discord and Slack bridges can
work after GitHub's deprecation of the `git://` and `ssh://` protocols
(https://github.blog/2021-09-01-improving-git-protocol-security-github/ ).
When the issue gets fixed in the Beeper fork (via
https://gitlab.com/beeper/mx-puppet-monorepo/-/merge_requests/35 or
otherwise), we'll get back on it.
4 years ago
Slavi Pantaleev
65f92f043a
Fix mx-puppet-discord container image repository URL
Fixup for d8a19e5bf9
4 years ago
Slavi Pantaleev
d8a19e5bf9
Switch to the Beeper-maintained fork of mx-puppet-discord
Building mx-puppet-discord appears to have been broken for a while.
Related to:
- https://github.com/matrix-discord/mx-puppet-discord/issues/201
- https://github.com/matrix-discord/mx-puppet-discord/issues/202
- https://github.com/matrix-discord/mx-puppet-discord/issues/203
We'd rather use a fork that is maintained better and by someone who
cares about whether their software works or not, so we'll be using the
Beeper-maintained for from now on.
In the future, we should probably do the same for the Slack bridge
which is also part of the same monorepo
(https://gitlab.com/beeper/mx-puppet-monorepo ).
4 years ago
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
4 years ago
Thracky
b02aa4b799
Add missing slash in url scheme for mediaUrl
4 years ago
Slavi Pantaleev
9babaa5a2b
Fix mx-puppet-discord media URLs using container-network URLs ( http://matrix-nginx-proxy:12080 )
4 years ago
Michael Collins
98e6cd685d
sync with previous repo
4 years ago
Slavi Pantaleev
d019e9078a
Remove unused variables from mx-puppet-* bridges
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1131
4 years ago
Michael-GMH
89cb5a3d7a
GMH v0.4.2 update
5 years ago
Ahmad Haghighi
e335f3fc77
rename matrix_global_registry to matrix_container_global_registry_prefix related to #990
Signed-off-by: Ahmad Haghighi <haghighi@fedoraproject.org>
5 years ago
Ahmad Haghighi
f52a8b6484
use custom docker registry
5 years ago
transcaffeine
dbae18fd6a
feat: push ephemeral events to appservices
This adds https://github.com/matrix-org/matrix-doc/pull/2409 to the
appservice registrations, enabling synapse to push EDUs to appservices.
5 years ago
Michael
33ec5710d9
0.2.1 revision
5 years ago
rakshazi
2f887f292c
added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility)
5 years ago
Slavi Pantaleev
d3ecc6f017
Fix bridges failing to upload media when Synapse workers are enabled
5 years ago
Slavi Pantaleev
15f4cc924d
Rename variables (_database_db_name -> _database_name)
5 years ago
Slavi Pantaleev
149872e00c
Add support for automatic (Postgres -> SQLite) migration to mx-puppet-discord
5 years ago
Slavi Pantaleev
e2ba46bf01
Fix Jinja2 syntax error (else if -> elif)
5 years ago
transcaffeine
5d70bc1376
add postgres support for mx-puppet-* with fallback to sqlite in role and migration notice
5 years ago
Slavi Pantaleev
be5263f397
Move self-building git repository URLs to variables (stop hardcoding)
5 years ago
Slavi Pantaleev
5eed874199
Improve self-building experience (avoid conflict with pullable images)
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/716
This patch makes us use more fully-qualified container image names
(either prefixed with docker.io/ or with localhost/).
The latter happens when self-building is enabled.
We've recently had issues where if an image was removed manually
and the service was restarted (making `docker run` fetch it from Docker Hub, etc.),
we'd end up with a pulled image, even though we're aiming for a self-built one.
Re-running the playbook would then not do a rebuild, because:
- the image with that name already exists (even though it's something
else)
- we sometimes had conditional logic where we'd build only if the git
repo changed
By explicitly changing the name of the images (prefixing with localhost/),
we avoid such confusion and the possibility that we'd automatically pul something
which is not what we expect.
Also, I've removed that condition where building would happen on git
changes only. We now always build (unless an image with that name
already exists). We just force-build when the git repo changes.
5 years ago
Hugues Morisset
eb0df37247
Mx-puppet-discord Use official docker image
https://github.com/matrix-discord/mx-puppet-discord/issues/80
Thanks Sorunome for setting up the automated build
5 years ago
Hugues Morisset
42e7f5e9bc
Add mx-puppet-discord
5 years ago