Add cryptohagen.dk website
This commit is contained in:
parent
e118b30873
commit
ea8804d31c
|
@ -21,7 +21,7 @@
|
|||
- codimd
|
||||
- netdata
|
||||
- docker_registry
|
||||
- website
|
||||
- websites
|
||||
|
||||
smtp_host: postfix
|
||||
smtp_port: 587
|
||||
|
|
|
@ -42,5 +42,8 @@ docker_registry:
|
|||
username: "docker"
|
||||
password: "{{ docker_password }}"
|
||||
|
||||
website:
|
||||
data_coop_website:
|
||||
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