- worker: without SMTP_URL, the SES SMTP address is built from the AWS access key and secret in .env.secrets (several common names, any case); the SMTP password is derived from the secret as AWS documents; region eu-central-1, port 2587 (DigitalOcean blocks 25/465/587) - deploy compose: no empty SMTP_URL in the worker's environment (it overrode .env.secrets); MAIL_FROM defaults to hello@sorsfonalak.hu - docs/levelkuldes.md rewritten for SES (domain, DKIM, custom MAIL FROM, sandbox, firewall); privacy policy names AWS as the mail processor Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
23 lines
754 B
Bash
23 lines
754 B
Bash
# Copy to /opt/sorsfonalak/.env on the server and fill in.
|
|
|
|
# Public domain (Caddy gets the certificate for it and www.<domain>)
|
|
DOMAIN=sorsfonalak.hu
|
|
# Long random string: openssl rand -hex 24
|
|
POSTGRES_PASSWORD=
|
|
|
|
# Google OAuth client ID(s), comma-separated
|
|
GOOGLE_CLIENT_IDS=
|
|
# These accounts become admins at their first login
|
|
BOOTSTRAP_ADMIN_EMAILS=
|
|
|
|
# Outgoing mail: Amazon SES (docs/levelkuldes.md). The credentials go to .env.secrets:
|
|
# SES_SMTP_USERNAME + SES_SMTP_PASSWORD, or AWS_ACCESS_KEY_ID + AWS_SECRET_ACCESS_KEY.
|
|
SES_REGION=eu-central-1
|
|
MAIL_FROM=Sorsfonalak <hello@sorsfonalak.hu>
|
|
|
|
# invite: new accounts need an invitation (default); open: anyone can sign up
|
|
SIGNUP_MODE=invite
|
|
|
|
# Image version; every deployment rewrites it
|
|
TAG=latest
|