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

24 lines
717 B
YAML
Raw Normal View History

2019-03-02 18:51:32 +00:00
---
- name: setup data.coop website docker container
docker_container:
name: website
image: docker.data.coop/data-coop-website
networks:
- name: external_services
env:
VIRTUAL_HOST : "{{ data_coop_website.domain }}"
LETSENCRYPT_HOST: "{{ data_coop_website.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
- name: setup cryptohagen.dk website docker container
docker_container:
name: website
image: docker.data.coop/cryptohagen-website
networks:
- name: external_services
env:
VIRTUAL_HOST : "{{ cryptohagen_website.domain }}"
LETSENCRYPT_HOST: "{{ cryptohagen_website.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"