Suguru Hirahara
aac44ad920
Add license information to matrix-bot-maubot
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
vor 1 Jahr
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.
vor 1 Jahr
Suguru Hirahara
c27fb2a832
Fix capitalization: postgres → Postgres
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
vor 1 Jahr
Suguru Hirahara
41d0fb8c86
Move config j2 files out of "config" subfolder for consistency
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
vor 1 Jahr
Slavi Pantaleev
59b8fbb13d
Add customizations support to maubot
vor 1 Jahr
Slavi Pantaleev
560ebd0ae6
Make /tmp for maubot writable
vor 1 Jahr
Slavi Pantaleev
48a4afb114
Make Traefik labels files look better
This moves the comments from being just in Jinja,
to actually ending up in the generated `labels` file,
which makes inspection of the final result easier.
Also, some new lines were added here and there to make labels
more legible.
The generated file may still include weird new-lines due to
various `if` statements yielding content or not, but that's not so ugly
anymore - now that we have proper start/end sections that are visible in
the final `labels` file.
vor 2 Jahren
Slavi Pantaleev
ed63068e22
Make maubot talk to the homeserver via matrix_addons_homeserver_client_api_url
vor 2 Jahren
Slavi Pantaleev
d1d6fe01b0
Remove matrix_docker_network references from matrix-bot-maubot
vor 2 Jahren
Slavi Pantaleev
b651495c07
Fixups for maubot and appservice-slack container labels
vor 2 Jahren
Slavi Pantaleev
c5006c3ac2
Move matrix-bot-maubot to its own container network and add native Traefik support
vor 2 Jahren
Slavi Pantaleev
2511b34a7c
Stop containers gracefully, instead of outright killing them
vor 2 Jahren
Slavi Pantaleev
ae2f67e15f
Make maubot communicate with the homeserver via the container network
Supersedes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2791
vor 2 Jahren
Slavi Pantaleev
7086c0ebe3
matrix_host_command_sh -> devture_systemd_docker_base_host_command_sh (via com.devture.ansible.role.systemd_docker_base)
vor 3 Jahren
Slavi Pantaleev
a9a81460ec
matrix_host_command_docker -> devture_systemd_docker_base_host_command_docker (via com.devture.ansible.role.systemd_docker_base)
vor 3 Jahren
Slavi Pantaleev
f03f716989
matrix_systemd_unit_home_path -> devture_systemd_docker_base_systemd_unit_home_path (via com.devture.ansible.role.systemd_docker_base)
vor 3 Jahren
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.
vor 3 Jahren