forked from vas3k/TaxHacker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
54 lines (43 loc) · 2.06 KB
/
.env.example
File metadata and controls
54 lines (43 loc) · 2.06 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
PORT=7331
NODE_ENV="development"
SELF_HOSTED_MODE=true
DISABLE_SIGNUP=false
# Database (REQUIRED)
DATABASE_URL="postgresql://user:password@localhost:5432/taxhacker"
# Upload Configuration
UPLOAD_PATH="./data/uploads"
# Security (REQUIRED in production)
# Generate ENCRYPTION_KEY: openssl rand -hex 32
ENCRYPTION_KEY="" # Must be exactly 64 characters (hex) in production
# Auth Secret (REQUIRED in production)
# Set to a long random string, minimum 16 characters
BETTER_AUTH_SECRET=""
# Optional: Protect self-hosted instance with a password
# When set, anyone accessing the app must enter this password first
# Leave empty for no password (only use if behind VPN/Tailscale)
SELF_HOSTED_PASSWORD=""
# Recommended for India: Gemini 2.5 Flash via Google (free tier available)
GOOGLE_MODEL_NAME="gemini-2.5-flash"
GOOGLE_API_KEY="" # Get from https://aistudio.google.com/apikey
# OpenAI (optional)
OPENAI_MODEL_NAME="gpt-4o-mini"
OPENAI_API_KEY="" # "sk-..."
# Mistral (optional)
MISTRAL_MODEL_NAME="mistral-medium-latest"
MISTRAL_API_KEY=""
# OpenRouter — access 100+ models (Claude, Gemini, Llama, DeepSeek) via single key
OPENROUTER_MODEL_NAME="google/gemini-2.5-flash"
OPENROUTER_API_KEY="" # "sk-or-v1-..." — Get from https://openrouter.ai/keys
# Razorpay Configuration (REQUIRED for cloud deployment with payments)
# Get these from https://dashboard.razorpay.com/app/keys
RAZORPAY_KEY_ID="" # Public key, visible on client-side
RAZORPAY_KEY_SECRET="" # Secret key, server-side only
RAZORPAY_WEBHOOK_SECRET="" # Webhook signing secret for webhook verification
RAZORPAY_PRO_PLAN_ID="" # Subscription plan ID for Pro monthly (₹499)
RAZORPAY_PRO_YEARLY_PLAN_ID="" # Subscription plan ID for Pro yearly (₹4,999)
# Client-side Razorpay key (same as RAZORPAY_KEY_ID, prefixed NEXT_PUBLIC_)
NEXT_PUBLIC_RAZORPAY_KEY_ID=""
# Resend Configuration (optional, use if you want to send emails)
RESEND_API_KEY="" # "re_..." — Get from https://resend.com
RESEND_FROM_EMAIL="TaxHacker <noreply@yourdomain.com>"
RESEND_AUDIENCE_ID="" # Optional — audience ID for email list segmentation