-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
52 lines (42 loc) · 2.01 KB
/
Copy path.env.example
File metadata and controls
52 lines (42 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# For Local Development
NEXT_PUBLIC_BASE_URL=http://localhost:3000
# For Production Deployment
# NEXT_PUBLIC_BASE_URL=your-domain-url
# Email Configuration for SMTP Authentication
EMAIL_USER=your-email
EMAIL_PASS=your-password
# Cron job authentication (required in production)
# CRON_SECRET=your-cron-secret
# Optional Brevo SMS for appointment reminders (E.164 phone on user/patient)
# API key: Brevo → Settings → SMTP & API → tab "API keys & MCP" → Generate (same key works for SMS).
# SMS requires prepaid credits (My plan → SMS & WhatsApp); free plan has email only, no free SMS credits.
# BREVO_SMS_API_KEY=
# BREVO_SMS_SENDER=HealthCal
# Generate with: openssl rand -base64 32
AUTH_SECRET=your-auth-secret
# PostgreSQL Database (Hetzner VPS)
# For local development and Vercel production
DATABASE_URL=your-postgresql-connection-string
# File Storage Configuration
# Using Vercel Blob (Recommended for demo projects on Vercel)
# Free tier: 1GB storage, 100GB bandwidth/month
# Get token from: Vercel Dashboard → Your Project → Storage → Blob → Create Blob Store
# Then copy the BLOB_READ_WRITE_TOKEN from the store settings
BLOB_READ_WRITE_TOKEN=your-vercel-blob-token
NEXT_PUBLIC_BLOB_FOLDER=your-vercel-blob-folder-name
# App URL — Stripe checkout return URLs (must match how users reach the app)
NEXT_PUBLIC_APP_URL=http://localhost:3000
# NEXT_PUBLIC_BASE_URL=http://localhost:3000
# Stripe (test mode keys from Dashboard → Developers → API keys)
STRIPE_SECRET_KEY=sk_test_...
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_...
# Local: from `stripe listen` output (changes per CLI session)
# Vercel: from Dashboard → Webhooks → your endpoint → Signing secret
STRIPE_WEBHOOK_SECRET=whsec_...
# Sentry (optional — production error tracking)
# DSN: Sentry Dashboard → Project Settings → Client Keys
# NEXT_PUBLIC_SENTRY_DSN=https://your-key@o123.ingest.sentry.io/project-id
# Source maps upload (CI / release builds only)
# SENTRY_AUTH_TOKEN=
# SENTRY_ORG=your-org-slug
# SENTRY_PROJECT=your-project-slug