mosh-helpdesk/server/.env.example
2026-03-03 09:16:47 -08:00

26 lines
1.1 KiB
Text

# Environment variables declared in this file are NOT automatically loaded by Prisma.
# Please add `import "dotenv/config";` to your `prisma.config.ts` file, or use the Prisma CLI with Bun
# to load environment variables from .env files: https://pris.ly/prisma-config-env-vars.
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
DATABASE_URL="postgresql://localhost:5432/helpdesk?schema=public"
BETTER_AUTH_SECRET="" # Required: generate with `openssl rand -base64 32`
BETTER_AUTH_URL="http://localhost:3000"
TRUSTED_ORIGINS="http://localhost:5173"
WEBHOOK_SECRET="" # Required for inbound email webhook
OPENAI_API_KEY="" # Required for AI polish feature
SENDGRID_API_KEY="" # Required for sending outbound emails
SENDGRID_FROM_EMAIL="" # Verified sender address (e.g. support@yourdomain.com)
SENTRY_DSN="" # Optional: Sentry error tracking DSN
SENTRY_ENVIRONMENT="" # e.g. development, staging, production
SEED_ADMIN_EMAIL="admin@example.com"
SEED_ADMIN_PASSWORD="" # Use a strong password