- SIGNUP_MODE=invite (default): a new account needs an open invitation for its address, or the invitation link (then any Google account will do) - admin page "Meghívók": invite many addresses at once, personal message, resend (max 3, 24 h apart), revoke, copy link, mail preview and test copy, waitlist - invitation e-mail in HTML and plain text; Message-ID on the sender's domain, List-Unsubscribe with one-click POST, opt-out list (hashes only) - e-mail texts moved to a shared crate (crates/email-templates) - login page shows the invitation; waitlist for uninvited visitors; unsubscribe page; privacy policy updated - docs/levelkuldes.md: Brevo, DNS (SPF, DKIM, DMARC) and the SMTP setup Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
23 lines
737 B
Bash
23 lines
737 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 (see docs/levelkuldes.md). DigitalOcean blocks ports 25/465/587: use 2525.
|
|
# e.g. smtp://login%40smtp-brevo.com:KEY@smtp-relay.brevo.com:2525?tls=required
|
|
SMTP_URL=
|
|
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
|