Merge pull request 'Add cryptoaarhus website' (#36) from reynir/ansible:cryptoaarhus.dk into master

Reviewed-on: data.coop/ansible#36
This commit is contained in:
reynir 2020-09-28 13:54:15 +00:00
commit d40b3ad9ab
2 changed files with 17 additions and 0 deletions

View file

@ -57,6 +57,9 @@ cryptohagen_website:
ulovliglogning_website:
domain: "ulovliglogning.dk,www.ulovliglogning.dk,ulovlig-logning.dk"
cryptoaarhus_website:
domain: "cryptoaarhus.data.coop"
drone:
domain: "drone.{{ base_domain }}"
volume_folder: "{{ volume_root_folder }}/drone"

View file

@ -41,3 +41,17 @@
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
labels:
com.ouroboros.enable: "true"
- 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.domain }}"
LETSENCRYPT_HOST: "{{ cryptoaarhus_website.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
labels:
com.ouroboros.enable: "true"