--- # Optional SMTP relay overlay. # Add :compose.smtp.yml to COMPOSE_FILE in your app .env to enable. # Requires a running postfix-relay or similar SMTP service on the swarm. # # Example .env additions: # COMPOSE_FILE=compose.yml:compose.smtp.yml # SMTP_HOST=postfix-relay # SMTP_PORT=25 # SMTP_FROM=noreply@example.com version: "3.8" services: app: environment: - BACKDROP_SMTP_HOST=${SMTP_HOST:-postfix-relay} - BACKDROP_SMTP_PORT=${SMTP_PORT:-25} - BACKDROP_SMTP_FROM=${SMTP_FROM:-}