-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.local.example
More file actions
36 lines (36 loc) · 1.54 KB
/
.env.local.example
File metadata and controls
36 lines (36 loc) · 1.54 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
# BASE_URL="https://mycustomdomain.com" # In production, set this to the single canonical app URL.
# ADMIN_EMAILS="admin@example.com,other-admin@example.com"
BETTER_AUTH_SECRET="random-string-of-characters"
CRYPTO_KEY="random-string-of-characters"
GITHUB_APP_ID="your-github-app-id"
GITHUB_APP_NAME="your-github-app-machine-name"
GITHUB_APP_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----
xxx
-----END RSA PRIVATE KEY-----"
GITHUB_APP_WEBHOOK_SECRET="another-random-string-of-characters"
GITHUB_APP_CLIENT_ID="your-github-app-client-id"
GITHUB_APP_CLIENT_SECRET="your-github-app-client-secret"
# EMAIL_PROVIDER="resend" # or "smtp"
EMAIL_FROM="Pages CMS <no-reply@mail.pagescms.org>"
# Resend config
# RESEND_API_KEY="your-resend-api-key"
# RESEND_FROM_EMAIL="Pages CMS <no-reply@mail.pagescms.org>" # backwards-compatible alias for EMAIL_FROM
# SMTP config
# SMTP_HOST="smtp.example.com"
# SMTP_PORT="587"
# SMTP_SECURE="false"
# SMTP_USER="smtp-user"
# SMTP_PASSWORD="smtp-password"
DATABASE_URL="postgresql://pagescms:pagescms@localhost:5432/pagescms"
# CACHE_CHECK_MIN=5
# CONFIG_CHECK_MIN=5
# FILE_TTL_MIN=1440
# PERMISSIONS_TTL_MIN=60
# BRANCH_HEAD_TTL_MS=15000
# REPO_META_TTL_MS=15000
# Webhook push processing thresholds
# <= WEBHOOK_PUSH_INCREMENTAL_MAX_FILES: incremental cache updates
# > WEBHOOK_PUSH_INCREMENTAL_MAX_FILES and <= WEBHOOK_PUSH_SCOPED_INVALIDATION_MAX_FILES: scoped cache invalidation
# > WEBHOOK_PUSH_SCOPED_INVALIDATION_MAX_FILES: full branch cache invalidation
# WEBHOOK_PUSH_INCREMENTAL_MAX_FILES=120
# WEBHOOK_PUSH_SCOPED_INVALIDATION_MAX_FILES=800