-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
32 lines (25 loc) · 1.2 KB
/
.env.example
File metadata and controls
32 lines (25 loc) · 1.2 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
# Database Configuration
DATABASE_URL=postgresql://openlinear:openlinear@localhost:5432/openlinear
# GitHub OAuth App (create at https://github.com/settings/developers)
# 1. Go to GitHub → Settings → Developer Settings → OAuth Apps → New
# 2. Set Homepage URL: http://localhost:3000
# 3. Set Callback URL: http://localhost:3001/api/auth/github/callback
# 4. Copy Client ID and generate a Client Secret
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_REDIRECT_URI=http://localhost:3001/api/auth/github/callback
# Optional: personal access token for higher rate limits on public repo fetches
GITHUB_TOKEN=
# JWT signing secret (change in production)
JWT_SECRET=openlinear-dev-secret-change-in-production
# Frontend URL (for OAuth redirect back)
FRONTEND_URL=http://localhost:3000
# CORS origin
CORS_ORIGIN=http://localhost:3000
# API server port (kept app-scoped via API_PORT to avoid affecting Next.js web port)
API_PORT=3001
# Brainstorm AI Configuration
BRAINSTORM_API_KEY= # Your LLM API key (OpenAI or Anthropic)
BRAINSTORM_MODEL=gpt-4o-mini # Model to use (default: gpt-4o-mini)
BRAINSTORM_PROVIDER=openai # Provider: openai or anthropic
BRAINSTORM_BASE_URL= # Optional: custom base URL