-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathenv.example
More file actions
41 lines (32 loc) · 1.54 KB
/
Copy pathenv.example
File metadata and controls
41 lines (32 loc) · 1.54 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
# Development Mode (set to true to skip GitHub OAuth validation - LOCAL DEV ONLY)
DEV_MODE=true
# Storage Mode: 'memory' or 'database'
# - memory: No database required, data is lost on restart (great for development/testing)
# - database: Requires PostgreSQL + TimescaleDB, persistent storage
STORAGE_MODE=memory
# PostgreSQL password — required when using docker-compose or STORAGE_MODE=database
# Generate with: openssl rand -base64 24
POSTGRES_PASSWORD=change-me-in-production
# Database (only required when STORAGE_MODE=database)
# DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@localhost:5432/snorlx?sslmode=disable
# GitHub OAuth App Configuration
# Create at: https://github.com/settings/developers → OAuth Apps → New OAuth App
# Homepage URL: http://localhost:5173
# Authorization callback URL: http://localhost:8080/api/auth/callback
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# GitHub Webhook Secret (REQUIRED in production to validate webhook payloads)
# Generate with: openssl rand -base64 32
# GITHUB_WEBHOOK_SECRET=
# Server Configuration
PORT=8080
LOG_LEVEL=info
# Session Security — MUST be changed from default in production (DEV_MODE=false)
# Generate with: openssl rand -base64 32
SESSION_SECRET=change-me-in-production
# Frontend
FRONTEND_URL=http://localhost:5173
VITE_API_URL=http://localhost:8080
# Sync Settings (optional - for testing/debugging)
# SYNC_LIMIT=10 # Limit number of repos to sync (0 = unlimited)
# SYNC_REPOS=owner/repo1,owner/repo2 # Comma-separated list of specific repos to sync