Deploy https://data.coop as a container

This commit is contained in:
Jesper Hess 2019-03-02 19:24:42 +01:00
parent 1400b18930
commit e118b30873
Signed by: graffen
GPG key ID: 351A89E40D763F0F
3 changed files with 19 additions and 2 deletions

View file

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

View file

@ -39,4 +39,8 @@ netdata:
docker_registry:
domain: "docker.{{ base_domain }}"
volume_folder: "{{ volume_root_folder }}/docker-registry"
username: "docker"
password: "{{ docker_password }}"
website:
domain: "{{ base_domain }}"

View file

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