-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
34 lines (30 loc) · 1.29 KB
/
Copy path.env.example
File metadata and controls
34 lines (30 loc) · 1.29 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
# --- GitHub App (REQUIRED) ---
# Register a GitHub App: https://github.com/settings/apps/new
# Permissions needed (Repository):
# - Actions: Read-only
# - Metadata: Read-only (granted automatically)
# Callback URL: http://localhost:3000/api/github/callback
# Post-install URL: http://localhost:3000/api/github/callback
# Enable "Request user authorization (OAuth) during installation"
GITHUB_APP_ID=
GITHUB_APP_CLIENT_ID=
GITHUB_APP_CLIENT_SECRET=
# Private key (PEM). Either paste raw multi-line, or single-line with literal \n:
# GITHUB_APP_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----"
GITHUB_APP_PRIVATE_KEY=
# URL slug of the app (the part after github.com/apps/ in the install URL)
GITHUB_APP_SLUG=
# --- Session ---
# REQUIRED. Generate with: openssl rand -base64 32
SESSION_SECRET=
# --- Optional ---
# Set to 1 when running behind a trusted reverse proxy (Vercel / nginx / etc.)
# so the rate limiter can trust X-Forwarded-For for client IP.
TRUSTED_PROXY=
# Public site URL (used for SEO: canonical, OpenGraph, sitemap, robots).
# No trailing slash. Example: https://ghalyzer.example.com
NEXT_PUBLIC_SITE_URL=
# --- Analytics (optional) ---
# Databuddy project client id. Leave empty to disable analytics.
# https://databuddy.cc
NEXT_PUBLIC_DATABUDDY_CLIENT_ID=