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

30 lines
943 B
YAML
Raw Permalink Normal View History

2019-03-02 18:51:32 +00:00
---
- name: setup data.coop website docker container
docker_container:
name: data.coop_website
2019-03-02 18:51:32 +00:00
image: docker.data.coop/data-coop-website
restart_policy: unless-stopped
2019-03-02 18:51:32 +00:00
networks:
- name: external_services
env:
VIRTUAL_HOST : "{{ data_coop_website.domain }}"
LETSENCRYPT_HOST: "{{ data_coop_website.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
labels:
com.centurylinklabs.watchtower.enable: "true"
2019-03-02 18:51:32 +00:00
- name: setup cryptohagen.dk website docker container
docker_container:
name: cryptohagen_website
restart_policy: unless-stopped
2019-03-02 18:51:32 +00:00
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 }}"
labels:
com.centurylinklabs.watchtower.enable: "true"