23 lines
577 B
Django/Jinja
23 lines
577 B
Django/Jinja
# vim: ft=yaml.docker-compose
|
|
version: "3.8"
|
|
|
|
services:
|
|
web:
|
|
image: docker.data.coop/unipi:{{ services.vhs_website.version }}
|
|
restart: unless-stopped
|
|
networks:
|
|
- external_services
|
|
environment:
|
|
VIRTUAL_HOST: "{{ services.vhs_website.domain }}"
|
|
LETSENCRYPT_HOST: "{{ services.vhs_website.domain }}"
|
|
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
|
command: --remote=https://git.data.coop/vhs.data.coop/website.git#main
|
|
cap_add:
|
|
- NET_ADMIN
|
|
devices:
|
|
- "/dev/net/tun"
|
|
|
|
networks:
|
|
external_services:
|
|
external: true
|