ansible/roles/docker/tasks/services/websites/data.coop.yml

16 lines
520 B
YAML

---
- name: setup data.coop website docker container
community.docker.docker_container:
name: data.coop_website
image: docker.data.coop/data-coop-website
restart_policy: unless-stopped
networks:
- name: external_services
env:
VIRTUAL_HOST: "{{ services.data_coop_website.domains|join(',') }}"
LETSENCRYPT_HOST: "{{ services.data_coop_website.domains|join(',') }}"
LETSENCRYPT_EMAIL: '{{ letsencrypt_email }}'
labels:
com.centurylinklabs.watchtower.enable: 'true'