forked from data.coop/ansible
22 lines
714 B
YAML
22 lines
714 B
YAML
---
|
|
- 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 }}"
|
|
command: "--remote=https://git.data.coop/halfd/new-website.git#main"
|
|
capabilities:
|
|
- NET_ADMIN
|
|
devices:
|
|
- "/dev/net/tun"
|
|
labels:
|
|
com.centurylinklabs.watchtower.enable: "true"
|
|
|