---
volume_root_folder: "/docker-volumes"

services:

  ### Internal services ###
  postfix:
    file: postfix.yml
    version: "v3.5.0"

  nginx_proxy:
    file: nginx_proxy.yml
    version: "1.0-alpine"
    volume_folder: "{{ volume_root_folder }}/nginx"

  nginx_acme_companion:
    version: "2.2"

  openldap:
    file: openldap.yml
    domain: "ldap.{{ base_domain }}"
    volume_folder: "{{ volume_root_folder }}/openldap"
    version: "1.5.0"

  phpldapadmin:
    version: "0.9.0"

  netdata:
    file: netdata.yml
    domain: "netdata.{{ base_domain }}"
    version: "v1"

  portainer:
    file: portainer.yml
    domain: "portainer.{{ base_domain }}"
    volume_folder: "{{ volume_root_folder }}/portainer"
    version: "2.16.2"

  keycloak:
    file: keycloak.yml
    domain: sso.{{ base_domain }}
    volume_folder: "{{ volume_root_folder }}/keycloak"
    version: "20.0"

  restic:
    file: restic_backup.yml
    user: "datacoop"
    domain: "restic.cannedtuna.org"
    repository: "datacoop-hevonen"
    version: "1.6.0"
    disabled_in_vagrant: true

  docker_registry:
    file: docker_registry.yml
    domain: "docker.{{ base_domain }}"
    volume_folder: "{{ volume_root_folder }}/docker-registry"
    username: "docker"
    password: "{{ docker_password }}"
    version: "2"

  ### External services ###

  nextcloud:
    file: nextcloud.yml
    domain: "cloud.{{ base_domain }}"
    volume_folder: "{{ volume_root_folder }}/nextcloud"
    version: 25-apache

  gitea:
    file: gitea.yml
    domain: "git.{{ base_domain }}"
    volume_folder: "{{ volume_root_folder }}/gitea"
    version: 1.17.3
    allowed_sender_domain: true

  passit:
    file: passit.yml
    domain: "passit.{{ base_domain }}"
    volume_folder: "{{ volume_root_folder }}/passit"
    version: stable
    allowed_sender_domain: true

  matrix:
    file: matrix_riot.yml
    domain: "matrix.{{ base_domain }}"
    volume_folder: "{{ volume_root_folder }}/matrix"
    version: v1.63.1

  riot:
    domains:
    - "riot.{{ base_domain }}"
    - "element.{{ base_domain }}"
    volume_folder: "{{ volume_root_folder }}/riot"
    version: v1.11.8

  privatebin:
    file: privatebin.yml
    domain: "paste.{{ base_domain }}"
    volume_folder: "{{ volume_root_folder }}/privatebin"
    version: 20221009

  codimd:
    domain: "oldpad.{{ base_domain }}"
    volume_folder: "{{ volume_root_folder }}/codimd"

  hedgedoc:
    file: hedgedoc.yml
    domain: "pad.{{ base_domain }}"
    volume_folder: "{{ volume_root_folder }}/hedgedoc"
    version: 1.9.6

  data_coop_website:
    file: websites/data.coop.yml
    domains:
    - "{{ base_domain }}"
    - "www.{{ base_domain }}"

  cryptohagen_website:
    file: websites/cryptohagen.dk.yml
    domains:
    - "cryptohagen.dk"
    - "www.cryptohagen.dk"

  ulovliglogning_website:
    file: websites/ulovliglogning.dk.yml
    domains:
    - "ulovliglogning.dk"
    - "www.ulovliglogning.dk"
    - "ulovlig-logning.dk"

  cryptoaarhus_website:
    file: websites/cryptoaarhus.dk.yml
    domains:
    - "cryptoaarhus.dk"
    - "www.cryptoaarhus.dk"

  drone:
    file: drone.yml
    domain: "drone.{{ base_domain }}"
    volume_folder: "{{ volume_root_folder }}/drone"
    version: 1

  mailu:
    file: mailu.yml
    version: 1.6
    domain: "mail.{{ base_domain }}"
    dns: 192.168.203.254
    subnet: 192.168.203.0/24
    volume_folder: "{{ volume_root_folder }}/mailu"

  mastodon:
    file: mastodon.yml
    domain: "social.{{ base_domain }}"
    volume_folder: "{{ volume_root_folder }}/mastodon"
    version: v4.0.2
    allowed_sender_domain: true

  rallly:
    file: rallly.yml
    domain: "when.{{ base_domain }}"
    volume_folder: "{{ volume_root_folder }}/rallly"
    version: a21f92bf74308d66cfcd545d49b81eba0211a222
    allowed_sender_domain: true

  membersystem:
    file: membersystem.yml
    domain: "member.{{ base_domain }}"
    django_admins: "Vidir:valberg@orn.li"
    allowed_sender_domain: true