-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
58 lines (43 loc) · 2.64 KB
/
Copy pathenv.example
File metadata and controls
58 lines (43 loc) · 2.64 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
# GEMINI_API_KEY: Required for Gemini AI API calls.
# AI Studio automatically injects this at runtime from user secrets.
# Users configure this via the Secrets panel in the AI Studio UI.
GEMINI_API_KEY="MY_GEMINI_API_KEY"
# APP_URL: The URL where this applet is hosted.
# AI Studio automatically injects this at runtime with the Cloud Run service URL.
# Used for self-referential links, OAuth callbacks, and API endpoints.
APP_URL="MY_APP_URL"
# AUTH_PORT: Local Better Auth server port used by the Vite proxy.
AUTH_PORT="3001"
# AUTH_TARGET: Optional explicit Better Auth server target for the Vite /api/auth proxy.
# If omitted, proxy defaults to http://localhost:${AUTH_PORT}.
AUTH_TARGET="http://localhost:3001"
# BETTER_AUTH_URL: Public app origin used to build OAuth callback URLs.
# Use your deployed site origin in production.
BETTER_AUTH_URL="http://localhost:3000"
# VITE_BETTER_AUTH_URL: Browser-facing Better Auth base URL.
# Leave pointed at the Vite dev server so cookies and OAuth callbacks stay same-origin.
VITE_BETTER_AUTH_URL="http://localhost:3000/api/auth"
# BETTER_AUTH_SECRET: Long random secret used to sign Better Auth cookies and tokens.
BETTER_AUTH_SECRET="replace-this-with-a-long-random-secret"
# BETTER_AUTH_DB_PATH: Local SQLite database file for Better Auth users and sessions.
BETTER_AUTH_DB_PATH="./data/better-auth.sqlite"
# GITHUB_CLIENT_ID / GITHUB_CLIENT_SECRET: GitHub OAuth app credentials.
# Set the callback URL in GitHub to http://localhost:3000/api/auth/callback/github
GITHUB_CLIENT_ID="your-github-client-id"
GITHUB_CLIENT_SECRET="your-github-client-secret"
# GITHUB_APP_ID / GITHUB_PRIVATE_KEY_PATH: GitHub App credentials used for repo discovery and auto-deploy.
GITHUB_APP_ID="your-github-app-id"
GITHUB_PRIVATE_KEY_PATH="./github-app.private-key.pem"
# GITHUB_WEBHOOK_SECRET: Secret configured on the GitHub App webhook.
GITHUB_WEBHOOK_SECRET="replace-this-with-a-long-random-secret"
# LECREV_API_TARGET: Optional local backend target for Vite /v1 proxy in development.
# If omitted, proxy defaults to http://localhost:8080.
LECREV_API_TARGET="http://localhost:8080"
# LECREV_POSTGRES_DSN: Backend metadata Postgres used to provision per-user Lecrev tenants and API keys.
LECREV_POSTGRES_DSN="postgres://lecrev:lecrev@localhost:5432/lecrev?sslmode=disable"
# LECREV_PUBLIC_API_URL: Public API base used in GitHub commit status links.
LECREV_PUBLIC_API_URL="http://localhost:8080"
# GITHUB_APP_DB_PATH: SQLite file for GitHub repo bindings and webhook-triggered deployment runs.
GITHUB_APP_DB_PATH="./data/github-app.sqlite"
# VITE_LECREV_API_BASE_URL: Leave blank in local development to use the Vite /v1 proxy.
VITE_LECREV_API_BASE_URL=""