ansible/roles/docker/tasks/services/websites/2022.slides.data.coop.yml

25 lines
782 B
YAML
Raw Permalink Normal View History

---
- name: setup 2022.slides.data.coop website using unipi
2022-11-26 08:52:41 +00:00
community.docker.docker_container:
name: 2022.slides.data.coop_website
image: docker.data.coop/unipi:latest
restart_policy: unless-stopped
2022-11-26 08:52:41 +00:00
purge_networks: true
networks:
- name: external_services
env:
2022-11-26 08:52:41 +00:00
VIRTUAL_HOST: 2022.slides.{{ services.data_coop_website.domains|join(',')
}}
LETSENCRYPT_HOST: 2022.slides.{{ services.data_coop_website.domains|join(',')
}}
LETSENCRYPT_EMAIL: '{{ letsencrypt_email }}'
# Temporarily hosting on github
command: --remote=https://github.com/sorbusursina/datacoop-slides.git#slides2022
capabilities:
- NET_ADMIN
devices:
2022-11-26 08:52:41 +00:00
- /dev/net/tun
labels:
2022-11-26 08:52:41 +00:00
com.centurylinklabs.watchtower.enable: 'true'