ansible/roles/docker/tasks/services/websites/2022.slides.data.coop.yml
Reynir Björnsson 9e11b055f6 Use http git.data.coop endpoints for websites
Gitea is notoriously strict with its http smart git implementation. This
required a few fixes in upstream ocaml-git. They are now released, and
we don't have to use github or ssh-keys.
2022-12-13 09:48:17 +01:00

23 lines
716 B
YAML

---
- name: setup 2022.slides.data.coop website using unipi
docker_container:
name: 2022.slides.data.coop_website
image: docker.data.coop/unipi:latest
restart_policy: unless-stopped
purge_networks: yes
networks:
- name: external_services
env:
VIRTUAL_HOST: "2022.slides.{{ services.data_coop_website.domains|join(',') }}"
LETSENCRYPT_HOST: "2022.slides.{{ services.data_coop_website.domains|join(',') }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
command: "--remote=https://git.data.coop/data.coop/slides.git#slides2022"
capabilities:
- NET_ADMIN
devices:
- "/dev/net/tun"
labels:
com.centurylinklabs.watchtower.enable: "true"