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

services:
  web:
    image: docker.data.coop/cryptohagen-website
    restart: unless-stopped
    networks:
      - external_services
    environment:
      VIRTUAL_HOST : "{{ services.cryptohagen_website.domains | join(',') }}"
      LETSENCRYPT_HOST: "{{ services.cryptohagen_website.domains | join(',') }}"
      LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"

networks:
  external_services:
    external: true