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

58 lines
1.9 KiB
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.domains|join(',') }}"
LETSENCRYPT_HOST: "{{ data_coop_website.domains|join(',') }}"
2019-03-02 18:51:32 +00:00
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
labels:
com.ouroboros.enable: "true"
- name: setup new data.coop website using hugo
docker_container:
name: new.data.coop_website
image: docker.data.coop/data-coop-website:hugo
restart_policy: unless-stopped
networks:
- name: external_services
env:
VIRTUAL_HOST : "new.{{ data_coop_website.domains|join(',') }}"
LETSENCRYPT_HOST: "new.{{ data_coop_website.domains|join(',') }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
labels:
com.ouroboros.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.domains|join(',') }}"
LETSENCRYPT_HOST: "{{ cryptohagen_website.domains|join(',') }}"
2019-03-02 18:51:32 +00:00
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
labels:
2019-03-04 15:28:51 +00:00
com.ouroboros.enable: "true"
2019-12-20 12:50:29 +00:00
- name: setup cryptoaarhus.dk website docker container
docker_container:
name: cryptoaarhus_website
restart_policy: unless-stopped
image: docker.data.coop/cryptoaarhus-website
networks:
- name: external_services
env:
VIRTUAL_HOST : "{{ cryptoaarhus_website.domains|join(',') }}"
LETSENCRYPT_HOST: "{{ cryptoaarhus_website.domains|join(',') }}"
2019-12-20 12:50:29 +00:00
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
labels:
com.ouroboros.enable: "true"