-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.prod
More file actions
48 lines (48 loc) · 2.09 KB
/
Copy path.env.prod
File metadata and controls
48 lines (48 loc) · 2.09 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
.env.production — Production (61 lines)
# Production Environment
# Copy this file to `.env` on your production server or use your deployment platform's secret management.
# Production Database
# Branch: br-patient-art-aocs682x (production, primary)
# Endpoint: ep-wild-feather-aolgvb3d-pooler
DATABASE_URL=postgresql://neondb_owner:npg_FVijz3A5Srpl@ep-wild-feather-aolgvb3d-pooler.c-2.ap-southeast-1.aws.neon.tech/neondb?sslmode=require&channel_binding=require
# GitHub OAuth App (same app handles both web and desktop via ?client=desktop)
# Homepage URL: https://openlinear.tech
# Callback URL: https://openlinear.tech/api/auth/github/callback (web + desktop deep-link)
GITHUB_CLIENT_ID=Ov23limWISAAOhkqDFXX
GITHUB_CLIENT_SECRET=6f41d6806ac0c79301f5a47c9c61279a50dbaee1
GITHUB_REDIRECT_URI=https://openlinear.tech/api/auth/github/callback
# Optional: GitHub PAT for higher rate limits on public repo fetches
GITHUB_TOKEN=
# JWT signing secret. REQUIRED — use a strong random string (e.g. `openssl rand -base64 32`).
JWT_SECRET=
# Token encryption key (AES-256-GCM, 32 bytes base64). REQUIRED — encrypts GitHub tokens at rest.
# Generate with: openssl rand -base64 32
TOKEN_ENCRYPTION_KEY=
# Frontend URL
FRONTEND_URL=https://openlinear.tech
# Cloud API base URL baked into the desktop UI build
NEXT_PUBLIC_CLOUD_API_URL=https://openlinear.tech
# CORS origin. Tauri origins (tauri://localhost, https://tauri.localhost) are always added implicitly.
CORS_ORIGIN=https://openlinear.tech
# API server port
API_PORT=3001
# OAuth interceptor port used by the local sidecar
OAUTH_INTERCEPTOR_PORT=1455
# Optional: where the sidecar clones repos into
REPOS_DIR=
# Brainstorm AI Configuration
BRAINSTORM_API_KEY=
BRAINSTORM_MODEL=gpt-4o-mini
BRAINSTORM_PROVIDER=openai
BRAINSTORM_BASE_URL=
# Home Chat LLM Configuration
CHAT_LLM_BASE_URL=https://api.fireworks.ai/inference/v1
CHAT_LLM_API_KEY=
CHAT_LLM_MODEL=accounts/fireworks/models/kimi-k2p6
CHAT_LLM_TIMEOUT_MS=60000
CHAT_RATE_LIMIT_PER_MIN=60
# ElevenLabs Speech-to-Text
ELEVENLABS_API_KEY=
ELEVENLABS_STT_MODEL_ID=scribe_v2
ELEVENLABS_STT_TIMEOUT_MS=30000
ELEVENLABS_STT_MAX_UPLOAD_MB=25