feat: Add SMTP env variables to docker-compose for Postal
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
This commit is contained in:
parent
9c92eb7953
commit
5a60f3303a
1 changed files with 9 additions and 1 deletions
|
|
@ -11,10 +11,18 @@ services:
|
|||
environment:
|
||||
- DATABASE_URL=${DATABASE_URL:-postgresql://elmeg:elmeg_password@db:5432/elmeg}
|
||||
- SECRET_KEY=${SECRET_KEY:-demo-secret-change-in-production}
|
||||
# Postal SMTP (primary)
|
||||
- SMTP_HOST=${SMTP_HOST}
|
||||
- SMTP_PORT=${SMTP_PORT:-25}
|
||||
- SMTP_USERNAME=${SMTP_USERNAME}
|
||||
- SMTP_PASSWORD=${SMTP_PASSWORD}
|
||||
- SMTP_USE_TLS=${SMTP_USE_TLS:-true}
|
||||
# AWS SES (fallback)
|
||||
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
|
||||
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
|
||||
- AWS_SES_REGION=${AWS_SES_REGION}
|
||||
- EMAIL_FROM=${EMAIL_FROM}
|
||||
# Common
|
||||
- EMAIL_FROM=${EMAIL_FROM:-noreply@elmeg.xyz}
|
||||
- FRONTEND_URL=${FRONTEND_URL:-https://elmeg.xyz}
|
||||
command: sh start.sh
|
||||
depends_on:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue