Switch mautrix-discord from matrix-nginx-proxy to matrix-homeserver-proxy

This commit is contained in:
Slavi Pantaleev
2024-01-02 17:22:23 +02:00
parent 77b0ef4799
commit 20c7cabfe4
6 changed files with 47 additions and 10 deletions

View File

@ -93,6 +93,11 @@
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
- name: Ensure mautrix-discord container network is created
community.general.docker_network:
name: "{{ matrix_mautrix_discord_container_network }}"
driver: bridge
- name: Ensure matrix-mautrix-discord.service installed
ansible.builtin.template:
src: "{{ role_path }}/templates/systemd/matrix-mautrix-discord.service.j2"

View File

@ -8,4 +8,5 @@
with_items:
- {'name': 'matrix_mautrix_discord_appservice_token', when: true}
- {'name': 'matrix_mautrix_discord_homeserver_token', when: true}
- {'name': 'matrix_mautrix_discord_container_network', when: true}
- {'name': 'matrix_mautrix_discord_database_hostname', when: "{{ matrix_mautrix_discord_database_engine == 'postgres' }}"}