mirror of
https://github.com/soconnor0919/beenvoice.git
synced 2025-12-15 10:34:43 -05:00
feat: introduce BETTER_AUTH_URL and NEXT_PUBLIC_APP_URL environment variables and update password reset link.
This commit is contained in:
37
.env.example
37
.env.example
@@ -1,27 +1,32 @@
|
||||
# Base application env (example)
|
||||
NODE_ENV=production
|
||||
PORT=3000
|
||||
HOSTNAME=0.0.0.0
|
||||
# Base application env
|
||||
NODE_ENV="development"
|
||||
PORT="3000"
|
||||
HOSTNAME="0.0.0.0"
|
||||
|
||||
# NextAuth
|
||||
AUTH_SECRET=replace-with-strong-secret
|
||||
# Auth
|
||||
# You can generate a new secret on the command line with:
|
||||
# openssl rand -base64 32
|
||||
AUTH_SECRET="your-auth-secret"
|
||||
BETTER_AUTH_URL="http://localhost:3000" # Set to your production URL in production
|
||||
|
||||
# App URL
|
||||
# Used for client-side redirects and base URLs
|
||||
NEXT_PUBLIC_APP_URL="http://localhost:3000"
|
||||
|
||||
# Database (Postgres)
|
||||
# These are required for Docker container initialization
|
||||
POSTGRES_USER=beenvoice
|
||||
POSTGRES_PASSWORD=beenvoice
|
||||
POSTGRES_DB=beenvoice
|
||||
POSTGRES_USER="postgres"
|
||||
POSTGRES_PASSWORD="postgres"
|
||||
POSTGRES_DB="postgres"
|
||||
|
||||
# Connect string for the app
|
||||
DATABASE_URL=postgres://beenvoice:beenvoice@db:5432/beenvoice
|
||||
DATABASE_URL="postgres://postgres:postgres@localhost:5432/postgres"
|
||||
# Disable SSL for Docker local Postgres; set to false or remove for managed Postgres
|
||||
DB_DISABLE_SSL=true
|
||||
DB_DISABLE_SSL="true"
|
||||
|
||||
# Email (Resend). Replace with real keys in production
|
||||
RESEND_API_KEY=replace-or-remove
|
||||
RESEND_DOMAIN=
|
||||
RESEND_API_KEY="your-resend-api-key"
|
||||
RESEND_DOMAIN=""
|
||||
|
||||
# Build tweaks
|
||||
SKIP_ENV_VALIDATION=1
|
||||
|
||||
|
||||
# SKIP_ENV_VALIDATION=1
|
||||
|
||||
Reference in New Issue
Block a user