diff --git a/playbook.yml b/playbook.yml index a4030411..582056a4 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 c6aa7181..25fb3d7a 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 00000000..9a6eaff3 --- /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