Add vhs.data.coop website

This commit is contained in:
Reynir Björnsson 2023-03-06 11:50:59 +01:00
parent 2d11a664b4
commit 32f25aeb8f
2 changed files with 24 additions and 0 deletions

View File

@ -144,6 +144,11 @@ services:
domain: fedi.dk
version: latest
vhs_website:
file: websites/vhs.data.coop.yaml
domain: vhs.data.coop
version: latest
cryptohagen_website:
file: websites/cryptohagen.dk.yml
domains:

View File

@ -0,0 +1,19 @@
# vim: ft=yaml.ansible
---
- name: setup vhs.data.coop website with unipi
docker_container:
name: vhs.data.coop_website
image: docker.data.coop/unipi:{{ services.vhs_website.version }}
restart_policy: unless-stopped
purge_networks: yes
networks:
- name: external_services
env:
VIRTUAL_HOST: "{{ services.vhs_website.domain }}"
LETSENCRYPT_HOST: "{{ services.vhs_website.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
command: "--remote=https://git.data.coop/vhs.data.coop/website.git#main"
capabilities:
- NET_ADMIN
devices:
- "/dev/net/tun"