-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
32 lines (28 loc) · 1023 Bytes
/
.env.example
File metadata and controls
32 lines (28 loc) · 1023 Bytes
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
# Frontend build-time variables (Vite)
VITE_PORT=3000
VITE_API_BASE_URL=http://localhost:8000
VITE_PROXY_TARGET=http://localhost:8000
VITE_APP_TITLE=NewsSystemPro
VITE_APP_VERSION=1.0.0
# Backend runtime variables (Express / serverless API)
PORT=8000
FRONTEND_ORIGINS=http://localhost:3000,http://localhost:5173
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173,https://your-github-pages-domain.github.io
JWT_SECRET=replace-with-a-long-random-secret
# AI routes / moderation / normalization
AI_ROUTES_ENABLED=false
AI_REVIEW_API_BASE_URL=https://api.openai.com/v1
AI_REVIEW_API_KEY=replace-with-your-api-key
AI_REVIEW_MODEL=gpt-4o-mini
AI_BRIEF_MODEL=gpt-4o-mini
AI_NORMALIZE_MODEL=gpt-4o-mini
AI_MODERATION_MODEL=omni-moderation-latest
# Crawl ingest
INGEST_TOKEN=replace-with-a-long-random-ingest-token
INGEST_REFRESH_ON_DUPLICATE=false
INGEST_MAX_CONTENT_CHARS=120000
# Optional LLM Guard runtime
LLM_GUARD_ENABLED=false
LLM_GUARD_PYTHON_BIN=python3
LLM_GUARD_TIMEOUT_MS=6000
LLM_GUARD_MAX_TEXT_CHARS=5000