-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
77 lines (65 loc) Β· 2.38 KB
/
.env.example
File metadata and controls
77 lines (65 loc) Β· 2.38 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
76
77
# Database Configuration
POSTGRES_USER=username
POSTGRES_PASSWORD=password
POSTGRES_DB=fittrack
DB_HOST=localhost
DB_PORT=5432
# Format: postgresql://USER:PASSWORD@HOST:PORT/DATABASE
DATABASE_URL=postgresql://username:password@localhost:5432/fittrack
# Authentication
# The URL where your application is running
BETTER_AUTH_URL=http://localhost:3000
# Generate a secure random string using: openssl rand -base64 32
BETTER_AUTH_SECRET=your-secret-key-here
# Google OAuth
# Get these from Google Cloud Console: https://console.cloud.google.com
# Required scopes: email, profile
GOOGLE_CLIENT_ID="your-google-client-id.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET="your-google-client-secret"
# OpenPanel Integration
# Get these from your OpenPanel dashboard
OPENPANEL_SECRET_KEY=
NEXT_PUBLIC_OPENPANEL_CLIENT_ID=
# Environment
# Options: development, production, test
NODE_ENV=development
#SMTP Configuration
# Using MailHog for example. https://github.com/mailhog/MailHog
SMTP_HOST=localhost
SMTP_PORT=1025
SMTP_USER=
SMTP_PASS=
SMTP_FROM="fittrack <noreply@fittrack>"
SMTP_SECURE=false
# Whether to seed sample data on startup
SEED_SAMPLE_DATA=true
# ========================================
# BILLING CONFIGURATION
# ========================================
# Stripe Configuration (optional)
# Get these from https://dashboard.stripe.com
STRIPE_SECRET_KEY="sk_test_..."
STRIPE_WEBHOOK_SECRET="whsec_..."
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="pk_test_..."
# Stripe Price IDs
# Create products in Stripe Dashboard and add price IDs here
NEXT_PUBLIC_STRIPE_PRICE_MONTHLY_EU="price_..."
NEXT_PUBLIC_STRIPE_PRICE_YEARLY_EU="price_..."
NEXT_PUBLIC_STRIPE_PRICE_MONTHLY_US="price_..."
NEXT_PUBLIC_STRIPE_PRICE_YEARLY_US="price_..."
NEXT_PUBLIC_STRIPE_PRICE_MONTHLY_LATAM="price_..."
NEXT_PUBLIC_STRIPE_PRICE_YEARLY_LATAM="price_..."
NEXT_PUBLIC_STRIPE_PRICE_MONTHLY_BR="price_..."
NEXT_PUBLIC_STRIPE_PRICE_YEARLY_BR="price_..."
NEXT_PUBLIC_STRIPE_PRICE_MONTHLY_RU="price_..."
NEXT_PUBLIC_STRIPE_PRICE_YEARLY_RU="price_..."
NEXT_PUBLIC_STRIPE_PRICE_MONTHLY_CN="price_..."
NEXT_PUBLIC_STRIPE_PRICE_YEARLY_CN="price_..."
# RevenueCat Configuration (for mobile app integration)
REVENUECAT_API_KEY=""
REVENUECAT_WEBHOOK_SECRET=""
REVENUECAT_SECRET_KEY="test_secret_key"
# Billing Mode for self-hosted
# Options: DISABLED, LICENSE_KEY, SUBSCRIPTION, FREEMIUM
DEFAULT_BILLING_MODE="DISABLED"
NEXT_PUBLIC_APP_URL=http://localhost:3000