Browse Source

Add new data.coop website. Fix postfix container for newest ansible. Comment out tt-rss.

cryptoaarhus.dk
parent
commit
4cf48f13c0
  1. 2
      playbook.yml
  2. 4
      roles/docker/tasks/services/postfix.yml
  3. 16
      roles/docker/tasks/services/websites.yml

2
playbook.yml

@ -27,7 +27,7 @@
- ouroboros
- mailu
- portainer
- tt-rss
# - tt-rss
smtp_host: "postfix"
smtp_port: "587"

4
roles/docker/tasks/services/postfix.yml

@ -4,8 +4,8 @@
docker_network:
name: postfix
ipam_config:
subnet: '172.16.0.0/16'
gateway: 172.16.0.1
- subnet: '172.16.0.0/16'
gateway: 172.16.0.1
- name: setup postfix docker container for outgoing mail
docker_container:

16
roles/docker/tasks/services/websites.yml

@ -12,7 +12,21 @@
LETSENCRYPT_HOST: "{{ data_coop_website.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
labels:
com.ouroboros.enable: "true"
com.ouroboros.enable: "true"
- name: setup new data.coop website using hugo
docker_container:
name: data.coop_website
image: docker.data.coop/data-coop-website:hugo
restart_policy: unless-stopped
networks:
- name: external_services
env:
VIRTUAL_HOST : "new.{{ data_coop_website.domain }}"
LETSENCRYPT_HOST: "new.{{ data_coop_website.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
labels:
com.ouroboros.enable: "true"
- name: setup cryptohagen.dk website docker container
docker_container:

Loading…
Cancel
Save