forked from DIodide/TheForum
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (37 loc) · 1.6 KB
/
.env.example
File metadata and controls
47 lines (37 loc) · 1.6 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
# ============================================================
# The Forum — Environment Variables
# Copy this file to .env and fill in your values.
# ============================================================
# ----- PostgreSQL (Docker) -----
POSTGRES_USER=forum
POSTGRES_PASSWORD=forum_password
POSTGRES_DB=the_forum
POSTGRES_PORT=5434
# ----- Database URL (used by Drizzle & Next.js) -----
DATABASE_URL=postgresql://forum:forum_password@localhost:5434/the_forum
# ----- Auth.js (Microsoft Entra ID) -----
AUTH_SECRET=your-auth-secret-here
AUTH_AZURE_AD_CLIENT_ID=your-client-id
AUTH_AZURE_AD_CLIENT_SECRET=your-client-secret
AUTH_AZURE_AD_TENANT_ID=2ff60116-7431-425d-b5af-077d7791bda4
# ----- AWS S3 (image uploads) -----
# AWS_S3_BUCKET=the-forum-uploads
# AWS_REGION=us-east-1
# ----- Next.js public vars (prefix with NEXT_PUBLIC_) -----
# NEXT_PUBLIC_API_URL=http://localhost:8000
NEXT_PUBLIC_MAPBOX_TOKEN=pk.your-mapbox-public-token
NEXT_PUBLIC_CAMPUS_MAP_TOKEN=pk.campus-map-public-token
NEXT_PUBLIC_CAMPUS_MAP_STYLE=mapbox://styles/account/style-id
# ----- FastAPI -----
# FASTAPI_SECRET_KEY=changeme
# ----- Pipeline (Phase 7) -----
# Gmail API — OAuth2 credentials JSON (from Google Cloud Console)
# GMAIL_CREDENTIALS_JSON={"installed":{"client_id":"...","client_secret":"...",...}}
# GMAIL_TOKEN_PATH=./gmail_token.json
# OpenRouter API key for LLM extraction (Gemini 3.1 Flash Lite)
# OPENROUTER_API_KEY=sk-or-...
# Admin API key for pipeline management endpoints
# ADMIN_API_KEY=your-secret-admin-key
# ----- Listserv Scraper -----
LISTSERV_EMAIL=tigerapp@princeton.edu
LISTSERV_PASSWORD=your-listserv-password