From 9a0fe697894cbf585ee2b577740966b03cf5c922 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Fri, 20 Dec 2019 13:50:29 +0100 Subject: [PATCH] Add cryptoaarhus website --- roles/docker/defaults/main.yml | 3 +++ roles/docker/tasks/services/websites.yml | 14 ++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/roles/docker/defaults/main.yml b/roles/docker/defaults/main.yml index cc41f80f..0d740c89 100644 --- a/roles/docker/defaults/main.yml +++ b/roles/docker/defaults/main.yml @@ -57,6 +57,9 @@ cryptohagen_website: ulovliglogning_website: domain: "ulovliglogning.dk,www.ulovliglogning.dk,ulovlig-logning.dk" +cryptoaarhus_website: + domain: "cryptoaarhus.data.coop" + drone: domain: "drone.{{ base_domain }}" volume_folder: "{{ volume_root_folder }}/drone" diff --git a/roles/docker/tasks/services/websites.yml b/roles/docker/tasks/services/websites.yml index 98c6701b..dc7d18d2 100644 --- a/roles/docker/tasks/services/websites.yml +++ b/roles/docker/tasks/services/websites.yml @@ -41,3 +41,17 @@ LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" labels: com.ouroboros.enable: "true" + +- name: setup cryptoaarhus.dk website docker container + docker_container: + name: cryptoaarhus_website + restart_policy: unless-stopped + image: docker.data.coop/cryptoaarhus-website + networks: + - name: external_services + env: + VIRTUAL_HOST : "{{ cryptoaarhus_website.domain }}" + LETSENCRYPT_HOST: "{{ cryptoaarhus_website.domain }}" + LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" + labels: + com.ouroboros.enable: "true"