Use SMTP credentials instead of Gmail auth for Email

This commit is contained in:
Ahmed Al-Taiar
2024-10-16 21:36:57 -04:00
parent bac5b5fe48
commit 6540329f36
7 changed files with 35 additions and 20 deletions

View File

@ -12,8 +12,11 @@ services:
- DATABASE_URL=postgresql://redwood:changeme@db:5432/portfolio
- FIRST_NAME=first name # Your first name
- LAST_NAME=lastname # Your last name
- GMAIL=example@gmail.com # The Gmail address associated with the app password created earlier
- GMAIL_SMTP_PASSWORD=aaaa bbbb cccc dddd # The app password created earlier
- SMTP_HOST=smtp.example.com
- SMTP_PORT=465
- SMTP_SECURE=true
- SMTP_USER=noreply@example.com
- SMTP_PASSWORD=password
- DOMAIN=portfolio.example.com
- API_DOMAIN=api.portfolio.example.com
# Careful, addresses below must not end with a '/'