From 79149a4cbabf891e0c2cf34635d86b718e0d3689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Wed, 13 Feb 2019 09:49:22 +0100 Subject: [PATCH] Adding some missing matrix stuff. Trying to get federation to work. --- playbook.yml | 1 + roles/docker/files/configs/riot-config.json | 4 ++-- roles/docker/tasks/services/matrix_riot.yml | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/playbook.yml b/playbook.yml index ccc7aa0..304b6ff 100644 --- a/playbook.yml +++ b/playbook.yml @@ -16,6 +16,7 @@ - passit - gitea - postfix + - matrix_riot smtp_host: postfix smtp_port: 587 diff --git a/roles/docker/files/configs/riot-config.json b/roles/docker/files/configs/riot-config.json index dd259d4..c3b5ca7 100644 --- a/roles/docker/files/configs/riot-config.json +++ b/roles/docker/files/configs/riot-config.json @@ -27,11 +27,11 @@ "piwik": false, "roomDirectory": { "servers": [ - "matrix.data.coop" + "{{ base_domain }}" ] }, "enable_presence_by_hs_url": { - "https://matrix.data.coop": false + "https://{{ matrix.domain }}": false }, "terms_and_conditions_links": [ { diff --git a/roles/docker/tasks/services/matrix_riot.yml b/roles/docker/tasks/services/matrix_riot.yml index 8d7afa6..9778996 100644 --- a/roles/docker/tasks/services/matrix_riot.yml +++ b/roles/docker/tasks/services/matrix_riot.yml @@ -44,9 +44,10 @@ networks: - name: matrix published_ports: + - 8008:8008 - 8448:8448 env: - SYNAPSE_SERVER_NAME: "{{ matrix.domain }}" + SYNAPSE_SERVER_NAME: "{{ base_domain }}" SYNAPSE_REPORT_STATS: "False" SYNAPSE_ENABLE_REGISTRATION: "True" SYNAPSE_LOG_LEVEL: "INFO"