-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
75 lines (62 loc) · 2.27 KB
/
Copy path.env.example
File metadata and controls
75 lines (62 loc) · 2.27 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
### SST LeaveFlow - Example environment variables
### Copy this to .env.local and fill in your values.
# Database (PostgreSQL via Drizzle ORM)
# Example: postgresql://user:password@localhost:5432/dbname
DATABASE_URL=
# Next.js Auth secret (generate with: openssl rand -base64 32)
AUTH_SECRET=
# Clerk (Authentication)
# Get from: https://dashboard.clerk.com
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
CLERK_WEBHOOK_SECRET=
# Clerk UI config
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/login
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/login
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/redirect
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/redirect
# Email Provider
EMAIL_PROVIDER=sst # ses | resend | sst
# --- SMS: Infobip ---
# API key (base64 of "username:password") from https://portal.infobip.com
INFOBIP_BASE_URL=https://api.infobip.com
INFOBIP_API_KEY=
INFOBIP_SENDER_ID=Scaler
# India DLT template & entity IDs (register the template in the Infobip console)
INFOBIP_DLT_CONTENT_TEMPLATE_ID=
INFOBIP_DLT_PRINCIPAL_ENTITY_ID=
# Custom short domain for URL shortening (e.g. scaler.short.gy).
# Must be registered in Infobip (URL Shortening) or messages are rejected.
INFOBIP_CUSTOM_DOMAIN=
# SMS test mode — redirects all SMS to test number in dev
SMS_TEST_MODE=true
SMS_TO_NUMBER= # Phone number where test SMS are sent
# --- Email: AWS SES ---
# Create IAM user with ses:SendEmail permission
AWS_REGION=ap-south-1
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
SES_FROM_EMAIL= # Verified email/domain in SES
# Resend (fallback email provider for development)
RESEND_API_KEY=
RESEND_FROM_EMAIL=
# Slack (Staff notifications)
# Create a Slack app at https://api.slack.com/apps and add the bot token
# The bot needs chat:write scope. Invite it to the channel.
SLACK_BOT_TOKEN=xoxb-your-bot-token
SLACK_CHANNEL_ID=C1234567890
# Channel for POC-targeted alerts (requests awaiting POC review).
# Falls back to SLACK_CHANNEL_ID when unset.
SLACK_POC_CHANNEL_ID=
# Cloudinary (Document Storage)
# Create an account at https://cloudinary.com
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
CLOUDINARY_DOCUMENTS_FOLDER=sst-hostel-leave-documents
# Vercel Cron Jobs
CRON_SECRET=
# App settings
NEXT_PUBLIC_BASE_URL=http://localhost:3000
NEXT_PUBLIC_APP_URL=http://localhost:3000
LOG_LEVEL=debug