brackt/.env.example
Chris Parsons 787b817fa7
Add PgBouncer connection pooling support for Vultr managed PostgreSQL (#271)
Disables prepared statements when PGBOUNCER=true (required for PgBouncer
transaction mode). Adds DATABASE_DIRECT_URL so migrations always use a
direct connection, bypassing the pool.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 17:15:18 -04:00

19 lines
No EOL
710 B
Text

NODE_ENV="development"
DATABASE_URL=""
# PgBouncer support (Vultr managed PostgreSQL)
# Set PGBOUNCER=true when DATABASE_URL points to a PgBouncer endpoint (port 6432).
# This disables prepared statements, required for PgBouncer transaction mode.
# DATABASE_DIRECT_URL is used by migrations; it must be a direct connection (port 5432).
# Leave both unset for local development with plain PostgreSQL.
PGBOUNCER=
DATABASE_DIRECT_URL=
CLERK_SECRET_KEY=""
CLERK_PUBLISHABLE_KEY=""
CLERK_WEBHOOK_SECRET=""
CONTAINER_REGISTRY=""
DEV_ADMIN_CLERK_ID=""
SENTRY_AUTH_TOKEN=""
SQUIGGLE_CONTACT_EMAIL=""
RESEND_API_KEY=""
TURNSTILE_SITE_KEY=1x00000000000000000000AA
TURNSTILE_SECRET_KEY=1x0000000000000000000000000000000AA