ansible/roles/services/templates/compose-files/fedi_dk_website.yml.j2

25 lines
623 B
Plaintext
Raw Normal View History

2024-03-29 20:54:14 +00:00
{# code: language=ansible-jinja #}
# THIS FILE IS MANAGED BY ANSIBLE
2023-10-03 19:45:21 +00:00
version: "3.8"
services:
web:
2023-02-18 20:09:49 +00:00
image: docker.data.coop/unipi:{{ services.fedi_dk_website.version }}
2023-10-03 19:45:21 +00:00
restart: unless-stopped
2023-02-18 20:09:49 +00:00
networks:
2023-10-03 19:45:21 +00:00
- external_services
environment:
2023-02-18 20:09:49 +00:00
VIRTUAL_HOST: "{{ services.fedi_dk_website.domain }}"
LETSENCRYPT_HOST: "{{ services.fedi_dk_website.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
2023-10-03 19:45:21 +00:00
command: --remote=https://git.data.coop/fedi.dk/website.git#main
cap_add:
2023-02-18 20:09:49 +00:00
- NET_ADMIN
devices:
- "/dev/net/tun"
2023-10-03 19:45:21 +00:00
networks:
external_services:
external: true