# vim: ft=yaml.ansible
---
- name: setup cryptohagen.dk website docker container
  docker_container:
    name: cryptohagen_website
    restart_policy: unless-stopped
    image: docker.data.coop/cryptohagen-website
    networks:
      - name: external_services
    env:
      VIRTUAL_HOST : "{{ services.cryptohagen_website.domains|join(',') }}"
      LETSENCRYPT_HOST: "{{ services.cryptohagen_website.domains|join(',') }}"
      LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"