From ec930a6f0f5d38e0cc4aa2358f8792d5eb28c79d Mon Sep 17 00:00:00 2001 From: Jesper Hess Nielsen Date: Sat, 9 Feb 2019 16:00:04 +0100 Subject: [PATCH] Add hostname for riot --- roles/docker/defaults/main.yml | 3 +++ roles/docker/tasks/services/matrix_riot.yml | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/roles/docker/defaults/main.yml b/roles/docker/defaults/main.yml index 9bf8bef..804536a 100644 --- a/roles/docker/defaults/main.yml +++ b/roles/docker/defaults/main.yml @@ -18,3 +18,6 @@ fider: matrix: domain: "matrix.{{ base_domain }}" + +riot: + domain: "riot.{{ base_domain }}" diff --git a/roles/docker/tasks/services/matrix_riot.yml b/roles/docker/tasks/services/matrix_riot.yml index d8845ae..8adaf83 100644 --- a/roles/docker/tasks/services/matrix_riot.yml +++ b/roles/docker/tasks/services/matrix_riot.yml @@ -57,4 +57,8 @@ networks: - name: matrix - name: external_services - + env: + VIRTUAL_HOST: "{{ riot.domain }}" + LETSENCRYPT_HOST: "{{ riot.domain }}" + LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" + \ No newline at end of file