Add cryptohagen.dk website
This commit is contained in:
parent
e118b30873
commit
ea8804d31c
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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 }}"
|
|
23
roles/docker/tasks/services/websites.yml
Normal file
23
roles/docker/tasks/services/websites.yml
Normal 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 }}"
|
Loading…
Reference in a new issue