mosh-helpdesk/server/.env.example

23 lines
1 KiB
Text
Raw Normal View History

2026-02-09 20:03:16 +01:00
# 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
2026-02-11 18:36:05 +01:00
DATABASE_URL="postgresql://localhost:5432/helpdesk?schema=public"
2026-02-12 19:43:52 +01:00
BETTER_AUTH_SECRET="" # Required: generate with `openssl rand -base64 32`
2026-02-11 18:36:05 +01:00
BETTER_AUTH_URL="http://localhost:3000"
TRUSTED_ORIGINS="http://localhost:5173"
2026-02-19 18:30:43 +01:00
WEBHOOK_SECRET="" # Required for inbound email webhook
2026-02-25 20:47:51 +01:00
OPENAI_API_KEY="" # Required for AI polish feature
2026-03-02 20:48:14 +01:00
SENDGRID_API_KEY="" # Required for sending outbound emails
SENDGRID_FROM_EMAIL="" # Verified sender address (e.g. support@yourdomain.com)
2026-02-11 18:36:05 +01:00
SEED_ADMIN_EMAIL="admin@example.com"
2026-02-12 19:43:52 +01:00
SEED_ADMIN_PASSWORD="" # Use a strong password