2022-11-26 08:52:41 +00:00
|
|
|
---
|
2022-11-26 08:15:18 +00:00
|
|
|
- name: setup new-new data.coop website using unipi
|
2022-11-26 08:52:41 +00:00
|
|
|
community.docker.docker_container:
|
2022-11-26 08:15:18 +00:00
|
|
|
name: new-new.data.coop_website
|
|
|
|
image: docker.data.coop/unipi:latest
|
|
|
|
restart_policy: unless-stopped
|
2022-11-26 08:52:41 +00:00
|
|
|
purge_networks: true
|
2022-11-26 08:15:18 +00:00
|
|
|
networks:
|
|
|
|
- name: external_services
|
|
|
|
env:
|
2022-11-26 09:47:37 +00:00
|
|
|
VIRTUAL_HOST: new-new.{{ services.data_coop_website.domains | join(',') }}
|
|
|
|
LETSENCRYPT_HOST: new-new.{{ services.data_coop_website.domains | join(',')
|
2022-11-26 08:52:41 +00:00
|
|
|
}}
|
|
|
|
LETSENCRYPT_EMAIL: '{{ letsencrypt_email }}'
|
|
|
|
# The ssh-key is for read-only only
|
|
|
|
command: --remote=git@git.data.coop:halfd/new-website.git#main --ssh-key ed25519:Ag9RekCyC2eow4P/e5crVvSTQ7dTK46WkG0wqEPVJbU=
|
|
|
|
--ssh-authenticator SHA256:l9kdLkb0kJm46pOJ4tCHCtFUaqV1ImbZWMA5oje10fI
|
2022-11-26 08:15:18 +00:00
|
|
|
capabilities:
|
|
|
|
- NET_ADMIN
|
|
|
|
devices:
|
2022-11-26 08:52:41 +00:00
|
|
|
- /dev/net/tun
|
2022-11-26 08:15:18 +00:00
|
|
|
labels:
|
2022-11-26 08:52:41 +00:00
|
|
|
com.centurylinklabs.watchtower.enable: 'true'
|