# vim: ft=yaml.ansible
---
- 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: "{{ services.ulovliglogning_website.domains|join(',') }}"
      LETSENCRYPT_HOST: "{{ services.ulovliglogning_website.domains|join(',') }}"
      LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"