Add cryptohagen.dk website

This commit is contained in:
Jesper Hess 2019-03-02 19:51:32 +01:00
parent e118b30873
commit ea8804d31c
Signed by untrusted user: graffen
GPG key ID: 351A89E40D763F0F
4 changed files with 28 additions and 14 deletions

View file

@ -21,7 +21,7 @@
- codimd - codimd
- netdata - netdata
- docker_registry - docker_registry
- website - websites
smtp_host: postfix smtp_host: postfix
smtp_port: 587 smtp_port: 587

View file

@ -42,5 +42,8 @@ docker_registry:
username: "docker" username: "docker"
password: "{{ docker_password }}" password: "{{ docker_password }}"
website: data_coop_website:
domain: "{{ base_domain }}" domain: "{{ base_domain }}"
cryptohagen_website:
domain: "cryptohagen.dk"

View file

@ -1,12 +0,0 @@
---
- 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 : "{{ website.domain }}"
LETSENCRYPT_HOST: "{{ website.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"

View file

@ -0,0 +1,23 @@
---
- 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 }}"