-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.dev
More file actions
31 lines (31 loc) · 1.62 KB
/
.env.dev
File metadata and controls
31 lines (31 loc) · 1.62 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
# Database Configuration — Development branch
DATABASE_URL=postgresql://neondb_owner:npg_FVijz3A5Srpl@ep-lively-tooth-aot5ofmy-pooler.c-2.ap-southeast-1.aws.neon.tech/neondb?sslmode=require&channel_binding=require
# GitHub OAuth App
GITHUB_CLIENT_ID=Ov23liy8A1JNx3VSY0la
GITHUB_CLIENT_SECRET=2331aaed22c6ad6260d0ebde3f60ad6ac4af29fe
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. REQUIRED in production.
JWT_SECRET=openlinear-dev-secret-change-in-production
# Token encryption key (AES-256-GCM, 32 bytes base64). REQUIRED — encrypts GitHub tokens at rest.
TOKEN_ENCRYPTION_KEY=rl51+Xu6VEpVErimC3dj6TZ4h90HX3553fsGQKaEMBs=
# Frontend URL (web flow OAuth redirect; ignored for ?client=desktop callbacks)
FRONTEND_URL=http://localhost:3000
# Cloud API base URL baked into the desktop UI build. In dev we point at the local API
# so the Tauri "Sign in with GitHub" button opens the local OAuth endpoint instead of
# the (currently unhosted) https://openlinear.tech/api/* endpoints.
NEXT_PUBLIC_CLOUD_API_URL=http://localhost:3001
# CORS origin. Comma-separated list. Tauri origins (tauri://localhost, https://tauri.localhost) are always added implicitly.
CORS_ORIGIN=http://localhost:3000
# 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. Defaults to <tmp>/openlinear-repos.
REPOS_DIR=
# Brainstorm AI Configuration
BRAINSTORM_API_KEY=
BRAINSTORM_MODEL=gpt-4o-mini
BRAINSTORM_PROVIDER=openai
BRAINSTORM_BASE_URL=