-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
48 lines (39 loc) · 1.24 KB
/
.env.example
File metadata and controls
48 lines (39 loc) · 1.24 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
# Server
PORT=5550
NODE_ENV=development
DATABASE_PATH=./packages/db/data/livedot.db
# Cloud mode — enables OAuth, sets default maxWebsites=1 per user
LIVEDOT_CLOUD=false
# OAuth — only used when LIVEDOT_CLOUD=true
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# Better Auth
BETTER_AUTH_SECRET=
BETTER_AUTH_URL=http://localhost:5550
# Analytics (optional — scripts injected at runtime)
UMAMI_URL=
UMAMI_WEBSITE_ID=
LIVEDOT_URL=
LIVEDOT_WEBSITE_ID=
# Database — uses local SQLite by default, set TURSO_URL to use Turso
# TURSO_URL=libsql://your-db.turso.io
# TURSO_AUTH_TOKEN=your-token
# Store — uses in-memory by default, set REDIS_URL to use Redis
# REDIS_URL=redis://localhost:6379
# Email — SMTP (required for email/password signup in cloud mode)
# SMTP_HOST=smtp.resend.com
# SMTP_PORT=587
# SMTP_USER=resend
# SMTP_PASS=re_...
# SMTP_FROM=noreply@livedot.dev
# APP_URL=https://cloud.livedot.dev
# Polar.sh billing (cloud only)
# POLAR_ACCESS_TOKEN=pat_...
# POLAR_ORGANIZATION_ID=...
# POLAR_WEBHOOK_SECRET=whsec_...
# Limits
DEFAULT_MAX_USER_SIGNUP=1 # max accounts that can register
# Plans are defined in code (apps/server/plans.ts)
# Self-hosted defaults to "ce" (unlimited), cloud defaults to "free"