data.coop-ansible/roles/docker/tasks/services/websites/new-new.data.coop.yml

22 lines
714 B
YAML
Raw Normal View History

---
- name: setup new-new data.coop website using unipi
docker_container:
name: new-new.data.coop_website
image: docker.data.coop/unipi:{{ services.new_new_data_coop_website.version }}
restart_policy: unless-stopped
purge_networks: yes
networks:
- name: external_services
env:
VIRTUAL_HOST: "{{ services.new_new_data_coop_website.domain }}"
LETSENCRYPT_HOST: "{{ services.new_new_data_coop_website.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
2022-12-13 15:32:33 +00:00
command: "--remote=https://git.data.coop/halfd/new-website.git#main"
capabilities:
- NET_ADMIN
devices:
- "/dev/net/tun"
labels:
com.centurylinklabs.watchtower.enable: "true"