Slavi Pantaleev
51df34e7ae
Ensure each container labels file defines at least one service
Most of these files were defining a service, usually toward the end.
These lines have been moved upward.
Some components (mautrix-signal, mautrix-gmessages, etc.) were defining
a service conditionally (only if metrics are exposed, etc). This was
causing issues like these in the Traefik logs:
> level=error msg="service \"matrix-mautrix-twitter\" error: port is missing" providerName=docker container=matrix-mautrix-twitter-..
2 роки тому
Slavi Pantaleev
f4f3d57520
Remove all traces of matrix-nginx-proxy, add validation & uninstallation tasks
2 роки тому
Slavi Pantaleev
b37a02720f
Move all Matrix client apps into the matrix-addons container network
Putting each client into its own network was good for isolation,
but it's quite wasteful in terms of the container network pool.
2 роки тому
Slavi Pantaleev
2511b34a7c
Stop containers gracefully, instead of outright killing them
2 роки тому
Aine
9df69e017b
Update cinny 3.1.0 -> 3.2.0
2 роки тому
renovate[bot]
65de453988
Update ajbura/cinny Docker tag to v3.1.0
2 роки тому
renovate[bot]
5345125e49
Update ajbura/cinny Docker tag to v3
2 роки тому
Samuel Meenzen
c846ed199b
Annotate version numbers with renovate metadata
2 роки тому
Aine
9e2b0a3be2
Update cinny 2.2.5 -> 2.2.6
3 роки тому
Aine
8a9d76b990
Update cinny 2.2.4 -> 2.2.5
3 роки тому
Slavi Pantaleev
dddfee16bc
Fix all 300+ ansible-lint-reported errors
3 роки тому
Slavi Pantaleev
6cdbde01d7
Fix various Traefik headers syntax
`always` is an nginx suffix, which shouldn't have been added to these.
3 роки тому
Slavi Pantaleev
38c4e464c1
Fix self-check for Hydrogen and Cinny when running under a subpath
3 роки тому
Slavi Pantaleev
f28e7ef9c7
Add (native) Traefik support to matrix-client-cinny
Previously, it had to go through matrix-nginx-proxy.
It's exposed to Traefik directly via container labels now
3 роки тому
Aine
8c2b77bf0c
Update cinny 2.2.3 -> 2.2.4
3 роки тому
Slavi Pantaleev
34c448c3bb
Upgrade Cinny (2.2.2 -> 2.2.3)
3 роки тому
Slavi Pantaleev
2688e8bfc3
Optimize initial installation by not reloading systemd after each .service install
We expect `--tags=start` to handle systemd reloading, so we don't need
to do it manually each time we install/uninstall a .service file.
3 роки тому
Slavi Pantaleev
a04f6f4e3d
Optimize uninstall tasks a bit
- forego removing Docker images - it's not effective anyway, because it
only removes the last version.. which is a drop in the bucket, usually
- do not reload systemd - it's none of our business. `--tags=start`,
etc., handle this
- combine all uninstall tasks under a single block, which only runs if
we detect traces (a leftover systemd .service file) of the component.
If no such .service is detected, we skip them all. This may lead to
incorect cleanup in rare cases, but is good enough for the most part.
3 роки тому
Slavi Pantaleev
61f67d8f0a
Add install-* tags for quicker runs
3 роки тому
Slavi Pantaleev
7c2a7a8eb6
Replace most import_tasks calls with include_tasks for improved performance
3 роки тому
Slavi Pantaleev
0ea7cb5d18
Remove various init.yml files - initialize systemd services, etc., statically (not at runtime)
3 роки тому
Slavi Pantaleev
d3bd1ca024
matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay}
3 роки тому
Slavi Pantaleev
7086c0ebe3
matrix_host_command_sh -> devture_systemd_docker_base_host_command_sh (via com.devture.ansible.role.systemd_docker_base)
3 роки тому
Slavi Pantaleev
a9a81460ec
matrix_host_command_docker -> devture_systemd_docker_base_host_command_docker (via com.devture.ansible.role.systemd_docker_base)
3 роки тому
Slavi Pantaleev
835d2e9581
matrix_systemd_path -> devture_systemd_docker_base_systemd_path (via com.devture.ansible.role.systemd_docker_base)
3 роки тому
Slavi Pantaleev
f03f716989
matrix_systemd_unit_home_path -> devture_systemd_docker_base_systemd_unit_home_path (via com.devture.ansible.role.systemd_docker_base)
3 роки тому
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 роки тому