services:
  api:
    build:
      context: ..
      dockerfile: deploy/api.Dockerfile
      args:
        APP_VERSION: ${LANQIN_BUILD_VERSION:-dev}
        APP_COMMIT: ${LANQIN_BUILD_COMMIT:-local}

  web:
    build:
      context: ..
      dockerfile: deploy/web.Dockerfile
      args:
        VITE_APP_VERSION: ${LANQIN_BUILD_VERSION:-dev}
        VITE_RELEASE_URL: ${LANQIN_BUILD_RELEASE_URL:-}

  postfix:
    build:
      context: ./postfix

  dovecot:
    build:
      context: ./dovecot

  rspamd:
    build:
      context: ./rspamd
