feat(mail): add MailSender port and explicit provider selection

This commit is contained in:
shira committed 2026-10-06 00:38:58 +03:00
1 parent e7d0d92ef9
commit 6153887eb5
26 files changed
+1253 -29

No files matched your search

+10
View File
@@ -187,6 +187,16 @@ services:
SEAWEEDFS_REGION: us-east-1
SEAWEEDFS_TIMEOUT: 10s
KAFKA_BROKERS: kafka:9092
EMAIL_PROVIDER: ${EMAIL_PROVIDER:?Set EMAIL_PROVIDER to resend, smtp, or disabled in the root .env file}
EMAIL_FROM: ${EMAIL_FROM:?Set EMAIL_FROM in the root .env file}
EMAIL_TIMEOUT: ${EMAIL_TIMEOUT:-10s}
APP_PUBLIC_URL: ${APP_PUBLIC_URL:?Set APP_PUBLIC_URL in the root .env file}
RESEND_API_KEY: ${RESEND_API_KEY:-}
SMTP_HOST: ${SMTP_HOST:-}
SMTP_PORT: ${SMTP_PORT:-}
SMTP_USERNAME: ${SMTP_USERNAME:-}
SMTP_PASSWORD: ${SMTP_PASSWORD:-}
SMTP_TLS_MODE: ${SMTP_TLS_MODE:-}
depends_on:
postgres:
condition: service_healthy