version: "3.8"

services:
  plausible:
    environment:
      MAILER_EMAIL: ${MAILER_EMAIL:-hello@plausible.local}
      SMTP_HOST_ADDR: ${SMTP_HOST_ADDR:-localhost}
      SMTP_HOST_PORT: ${SMTP_HOST_PORT:-25}
      SMTP_USER_NAME: ${SMTP_USER_NAME}
      SMTP_USER_PWD: ${SMTP_USER_PWD}
      SMTP_HOST_SSL_ENABLED: ${SMTP_HOST_SSL_ENABLED:-false}
      SMTP_RETRIES: ${SMTP_RETRIES:-2}