From 3d09c8592f156253869f09f335b4ae99937c31bc Mon Sep 17 00:00:00 2001 From: Jesper Hess Nielsen Date: Sat, 9 Feb 2019 15:07:16 +0100 Subject: [PATCH] Add matrix base_domain and set in synapse config --- roles/docker/defaults/main.yml | 3 +++ roles/docker/tasks/services/matrix_riot.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/docker/defaults/main.yml b/roles/docker/defaults/main.yml index 8bc38ef4..9bf8bef5 100644 --- a/roles/docker/defaults/main.yml +++ b/roles/docker/defaults/main.yml @@ -15,3 +15,6 @@ passit: fider: domain: "feedback.{{ base_domain }}" + +matrix: + domain: "matrix.{{ base_domain }}" diff --git a/roles/docker/tasks/services/matrix_riot.yml b/roles/docker/tasks/services/matrix_riot.yml index 0b19bf4a..07897ddd 100644 --- a/roles/docker/tasks/services/matrix_riot.yml +++ b/roles/docker/tasks/services/matrix_riot.yml @@ -13,7 +13,7 @@ name: matrix image: matrixdotorg/synapse:latest env: - SYNAPSE_SERVER_NAME: my.matrix.host + SYNAPSE_SERVER_NAME: {{ matrix.domain }} SYNAPSE_REPORT_STATS: no SYNAPSE_ENABLE_REGISTRATION: yes SYNAPSE_LOG_LEVEL: INFO