-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.selfhosted.example
More file actions
33 lines (26 loc) · 1.4 KB
/
.env.selfhosted.example
File metadata and controls
33 lines (26 loc) · 1.4 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
# LiveReview - Selfhosted Configuration
# Copy this file to .env for a minimal selfhosted deployment
#
# This is the simplest configuration for running LiveReview on your own server.
# For cloud mode with payments and analytics, see .env.example
# =============================================================================
# REQUIRED - Must be configured before starting
# =============================================================================
# Database connection
# If using Docker Compose, use: postgres://livereview:YOUR_PASSWORD@livereview-db:5432/livereview?sslmode=disable
# If using external PostgreSQL: postgres://user:password@host:5432/livereview?sslmode=disable
DATABASE_URL=postgres://livereview:your_secure_password_here@localhost:5432/livereview?sslmode=disable
# JWT secret for authentication tokens
# Generate with: openssl rand -hex 32
JWT_SECRET=generate_a_64_character_hex_string_here
# =============================================================================
# OPTIONAL - Defaults work for most deployments
# =============================================================================
# Server ports
LIVEREVIEW_BACKEND_PORT=8888
LIVEREVIEW_FRONTEND_PORT=8081
# Reverse proxy mode (set true when behind nginx/caddy/apache)
# When true, the app trusts X-Forwarded-For and X-Forwarded-Proto headers
LIVEREVIEW_REVERSE_PROXY=false
# Mode (always false for selfhosted)
LIVEREVIEW_IS_CLOUD=false