-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
69 lines (53 loc) · 2.83 KB
/
.env.example
File metadata and controls
69 lines (53 loc) · 2.83 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
# LiveReview Configuration Template
# Copy this file to .env and fill in your values
#
# For selfhosted deployments, see .env.selfhosted.example for a minimal config
# =============================================================================
# REQUIRED - Core settings that must be configured
# =============================================================================
# Database connection string
# Format: postgres://user:password@host:port/database?sslmode=disable
DATABASE_URL=postgres://livereview:your_password_here@localhost:5432/livereview?sslmode=disable
# JWT secret for authentication (generate with: openssl rand -hex 32)
JWT_SECRET=your_jwt_secret_here
# =============================================================================
# DEPLOYMENT - Server configuration
# =============================================================================
# Server ports (defaults: backend=8888, frontend=8081)
LIVEREVIEW_BACKEND_PORT=8888
LIVEREVIEW_FRONTEND_PORT=8081
# Set to true if running behind a reverse proxy (nginx, caddy, etc.)
# When true, the app trusts X-Forwarded-* headers
LIVEREVIEW_REVERSE_PROXY=false
# =============================================================================
# MODE - Selfhosted vs Cloud
# =============================================================================
# Set to 'true' for Hexmos cloud hosting, 'false' for selfhosted
# Selfhosted mode disables cloud-specific features (analytics, payments, etc.)
LIVEREVIEW_IS_CLOUD=false
# =============================================================================
# CLOUD MODE ONLY - Skip this section for selfhosted deployments
# =============================================================================
# Cloud authentication (required when LIVEREVIEW_IS_CLOUD=true)
# CLOUD_JWT_SECRET=your_cloud_jwt_secret_here
# FW_PARSE_ADMIN_SECRET=your_parse_admin_secret_here
# Discord webhook for signup notifications (Cloud Only)
# DISCORD_SIGNUP_WEBHOOK_URL=https://discord.com/api/webhooks/...
# -----------------------------------------------------------------------------
# Razorpay Payment Processing (Cloud Only)
# Get keys from: https://dashboard.razorpay.com/
# -----------------------------------------------------------------------------
# Payment mode: 'test' or 'live'
# RAZORPAY_MODE=test
# Webhook secret for validating Razorpay callbacks
# RAZORPAY_WEBHOOK_SECRET=your_webhook_secret_here
# Test environment keys (for development/staging)
# RAZORPAY_TEST_KEY=rzp_test_xxxxxxxxxxxx
# RAZORPAY_TEST_SECRET=your_test_secret_here
# RAZORPAY_TEST_MONTHLY_PLAN_ID=plan_xxxxxxxxxxxxxx
# RAZORPAY_TEST_YEARLY_PLAN_ID=plan_xxxxxxxxxxxxxx
# Live environment keys (for production)
# RAZORPAY_LIVE_KEY=rzp_live_xxxxxxxxxxxx
# RAZORPAY_LIVE_SECRET=your_live_secret_here
# RAZORPAY_LIVE_MONTHLY_PLAN_ID=plan_xxxxxxxxxxxxxx
# RAZORPAY_LIVE_YEARLY_PLAN_ID=plan_xxxxxxxxxxxxxx