From 447b82326cf2372262b2f4321078b20064f83e27 Mon Sep 17 00:00:00 2001 From: Jesper Hess Nielsen Date: Mon, 13 Jan 2020 17:29:09 +0100 Subject: [PATCH] Add ulovliglogning.dk website to the stack --- playbook.yml | 1 + roles/docker/defaults/main.yml | 4 ++++ roles/docker/tasks/services/ulovliglogning-dk.yml | 13 +++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 roles/docker/tasks/services/ulovliglogning-dk.yml diff --git a/playbook.yml b/playbook.yml index a403041..582056a 100644 --- a/playbook.yml +++ b/playbook.yml @@ -23,6 +23,7 @@ - docker_registry - drone - websites + - ulovliglogning-dk - ouroboros - mailu - portainer diff --git a/roles/docker/defaults/main.yml b/roles/docker/defaults/main.yml index c6aa718..25fb3d7 100644 --- a/roles/docker/defaults/main.yml +++ b/roles/docker/defaults/main.yml @@ -54,6 +54,9 @@ data_coop_website: cryptohagen_website: domain: "cryptohagen.dk" +ulovliglogning_website: + domain: "ulovliglogning.dk" + drone: domain: "drone.{{ base_domain }}" volume_folder: "{{ volume_root_folder }}/drone" @@ -72,3 +75,4 @@ portainer: ttrss: domain: rss.{{ base_domain }} volume_folder: "{{ volume_root_folder }}/tt-rss" + diff --git a/roles/docker/tasks/services/ulovliglogning-dk.yml b/roles/docker/tasks/services/ulovliglogning-dk.yml new file mode 100644 index 0000000..9a6eaff --- /dev/null +++ b/roles/docker/tasks/services/ulovliglogning-dk.yml @@ -0,0 +1,13 @@ +- name: setup ulovliglogning.dk website docker container + docker_container: + name: ulovliglogning_website + restart_policy: unless-stopped + image: ulovliglogning/ulovliglogning.dk:latest + networks: + - name: external_services + env: + VIRTUAL_HOST : "{{ ulovliglogning_website.domain }}" + LETSENCRYPT_HOST: "{{ ulovliglogning_website.domain }}" + LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" + labels: + com.ouroboros.enable: "true" \ No newline at end of file