# vim: ft=yaml.docker-compose
version: "3.8"

services:
  web:
    image: ulovliglogning/ulovliglogning.dk:latest
    restart: unless-stopped
    networks:
      - external_services
    environment:
      VIRTUAL_HOST: "{{ services.ulovliglogning_website.domains | join(',') }}"
      LETSENCRYPT_HOST: "{{ services.ulovliglogning_website.domains | join(',') }}"
      LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"

networks:
  external_services:
    external: true