-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
21 lines (17 loc) · 832 Bytes
/
.env.example
File metadata and controls
21 lines (17 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Frontend (NextAuth + GitHub OAuth)
GITHUB_ID=your_github_oauth_app_id
GITHUB_SECRET=your_github_oauth_app_secret
NEXTAUTH_SECRET=your_random_secret
NEXTAUTH_URL=http://localhost:3000
# Backend API proxy target
BACKEND_URL=http://localhost:8000
# Shared secret between frontend and backend.
# Must match github-app/.env -> API_SECRET
API_SECRET=replace_with_long_random_secret
# Optional: GitHub App install URL shown in dashboard empty state
# NEXT_PUBLIC_GITHUB_APP_INSTALL_URL=https://github.com/apps/your-app-slug/installations/new
# Numeric ID of the Polaris GitHub App.
# Used by /api/github/installations to filter the authenticated user's
# installations down to just the Polaris App. Find it under
# GitHub Settings -> Developer settings -> GitHub Apps -> Polaris -> "App ID".
GITHUB_APP_ID=your_github_app_numeric_id