# Postgres connection used by Prisma DATABASE_URL="postgresql://einvite:einvite@postgres:5432/einvite?schema=public" # Base URL the app is served from (used to build share links & email links) APP_URL="http://localhost:3100" # Secret used to sign session cookies - set to a long random string in production SESSION_SECRET="change-me-to-a-long-random-string" # Set to "true" once the app is served over HTTPS (e.g. behind a reverse proxy # terminating TLS) so session cookies get the Secure flag. Leave "false" for # the default plain-HTTP docker-compose setup, otherwise logins will silently # stop working. COOKIE_SECURE="false" # SMTP settings for outbound email. Defaults point at the bundled Mailpit # dev catcher (web UI at http://localhost:8025). Swap these for a real # provider (SES, Postmark, Gmail, etc.) in production - no code changes needed. SMTP_HOST="mailpit" SMTP_PORT="1025" SMTP_USER="" SMTP_PASS="" SMTP_FROM="E-Invite " SMTP_SECURE="false" # Browser push notifications (optional - hosts opt in per-device from # Settings). Generate your own pair with: # node -e "console.log(JSON.stringify(require('web-push').generateVAPIDKeys(),null,2))" # The public key is baked into the client bundle at *build* time (not just # runtime), so changing it requires a rebuild (`docker compose up --build`). # Leave both blank to disable the feature entirely - push notifications are # never required, email notifications always work regardless. NEXT_PUBLIC_VAPID_PUBLIC_KEY="BJBjEBsaKn8vaj6DiqpuUMhriDgqgbgiilG0G6ejbTlu8PTfnS6DT4WHUXkBXXOZCnpc6s5TQX_M4pkrhC6y-Cc" VAPID_PRIVATE_KEY="VsCabG9YTAo9mbL9qGhqsf7JnBfwB6s4JY4us1gY9Y0" VAPID_CONTACT_EMAIL="admin@example.com" # SMS invites + reply-to-RSVP-by-text (optional). Leave all three blank to # disable - guests can still always be invited/RSVP by email. Get these from # https://console.twilio.com (Account SID + Auth Token on the dashboard, the # phone number from Phone Numbers > Manage > Active Numbers). TWILIO_ACCOUNT_SID="" TWILIO_AUTH_TOKEN="" TWILIO_PHONE_NUMBER=""