Replace Resend env vars with SMTP config
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b977c26e01
commit
5cfbe70791
|
|
@ -6,5 +6,8 @@ DB_PASSWORD="your_secure_password_here"
|
|||
NEXTAUTH_SECRET="generate-with-openssl-rand-base64-32"
|
||||
NEXTAUTH_URL="http://localhost:3000"
|
||||
|
||||
# Resend (for magic link emails)
|
||||
RESEND_API_KEY="re_your_api_key_here"
|
||||
# SMTP Email (Mailcow)
|
||||
SMTP_HOST=mx.jeffemmett.com
|
||||
SMTP_PORT=587
|
||||
SMTP_USER=noreply@jeffemmett.com
|
||||
SMTP_PASS=changeme
|
||||
|
|
|
|||
|
|
@ -14,7 +14,10 @@ services:
|
|||
- DATABASE_URL=postgresql://rvote:${DB_PASSWORD}@postgres:5432/rvote
|
||||
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET}
|
||||
- NEXTAUTH_URL=https://rvote.online
|
||||
- RESEND_API_KEY=${RESEND_API_KEY}
|
||||
- SMTP_HOST=${SMTP_HOST:-mx.jeffemmett.com}
|
||||
- SMTP_PORT=${SMTP_PORT:-587}
|
||||
- SMTP_USER=${SMTP_USER:-noreply@jeffemmett.com}
|
||||
- SMTP_PASS=${SMTP_PASS}
|
||||
- ROOT_DOMAIN=rvote.online
|
||||
- NEXT_PUBLIC_ROOT_DOMAIN=rvote.online
|
||||
networks:
|
||||
|
|
|
|||
Loading…
Reference in New Issue