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

23 lines
732 B
YAML
Raw Normal View History

---
- name: setup new-new data.coop website using unipi
docker_container:
2022-12-14 17:43:49 +00:00
state: absent
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"