data.coop-ansible/roles/docker/templates/compose-files/fedi_dk_website.yml.j2

23 lines
583 B
Plaintext
Raw Normal View History

2023-10-03 19:45:21 +00:00
# vim: ft=yaml.docker-compose
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