43 lines
2.2 KiB
Plaintext
43 lines
2.2 KiB
Plaintext
# Bettersight Intelligence website backend — what each variable below
|
|
# does. NOT read from a file here anymore: docker-compose.yml's `backend`
|
|
# service reads these as plain environment: vars (Dokploy's Environment
|
|
# tab in production; ../.env for local dev, loaded automatically by
|
|
# `docker compose` from alongside docker-compose.yml) rather than
|
|
# env_file: ./backend/.env — confirmed elsewhere in this same Dokploy
|
|
# server that env_file: doesn't survive AutoDeploy's git re-clone. Copy
|
|
# these into ../.env.example / ../.env instead of a file in this
|
|
# directory.
|
|
|
|
# Resend (https://resend.com) — used to send both the "Request a demo"
|
|
# notification and the self-assess calculator's PDF/lead emails.
|
|
# 1. Verify your sending domain in Resend's dashboard (adds SPF/DKIM
|
|
# records) — required before Resend will send from that domain.
|
|
# 2. Create an API key in Resend → API Keys, paste it below.
|
|
# To test sending without risking a real inbox, use Resend's own sandbox
|
|
# address as the "to" — delivered@resend.dev — rather than a made-up
|
|
# address like test@example.com, which Resend's API rejects outright.
|
|
RESEND_API_KEY=
|
|
|
|
# The "From" name/address on every email this backend sends. The address
|
|
# must be on a domain verified in Resend (step 1 above).
|
|
MAIL_SENDER_NAME=Bettersight
|
|
MAIL_SENDER_ADDRESS=support@bettersight.io
|
|
|
|
# Where "Request a demo" and calculator lead notifications are delivered.
|
|
# Resend only SENDS — it does not host an inbox. For this address to
|
|
# actually be readable, it needs a real mailbox behind it: either a full
|
|
# provider (Google Workspace, etc.) or, if bettersight.io's DNS is on
|
|
# Cloudflare, the free Cloudflare Email Routing feature (MX record + a
|
|
# forwarding rule to a personal inbox) is the simplest option.
|
|
SALES_EMAIL=sales@bettersight.io
|
|
|
|
# Per-IP cap across every route in this backend (contact form + both
|
|
# calculator endpoints) — public, unauthenticated surface
|
|
RATELIMIT_PER_HOUR=20
|
|
|
|
# Base URL this site is actually served from — used to build the absolute
|
|
# logo URL inside the "email me a copy" template (email clients load
|
|
# images over HTTP; they can't render the data: URI the site itself uses
|
|
# inline). Update this if the site ever moves domains.
|
|
SITE_BASE_URL=https://bettersight.io
|