Make matrix-synapse-auto-compressor live in its own container network

It will, additionally, be connected to the devture-postgres network, if
devture-postgres is enabled.
This commit is contained in:
Slavi Pantaleev
2023-03-12 10:01:51 +02:00
parent 0f2e568b30
commit 26d5719df4
4 changed files with 29 additions and 2 deletions

View File

@ -43,6 +43,11 @@
pull: true
when: "matrix_synapse_auto_compressor_container_image_self_build | bool"
- name: Ensure matrix-synapse-auto-compressor container network is created
community.general.docker_network:
name: "{{ matrix_synapse_auto_compressor_container_network }}"
driver: bridge
- name: Ensure matrix-synapse-auto-compressor systemd service and timer are installed
ansible.builtin.template:
src: "{{ role_path }}/templates/matrix-synapse-auto-compressor.{{ item }}.j2"