-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (25 loc) · 1.04 KB
/
.env.example
File metadata and controls
30 lines (25 loc) · 1.04 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
# ==========================================
# PDFUSION LOCAL CONFIGURATION (FastAPI + Postgres)
# ==========================================
# API URL for the local backend (VITE_ prefix required for frontend code)
VITE_API_BASE_URL=http://localhost:8000
# ==========================================
# BACKEND SERVER CONFIGURATION
# ==========================================
# Postgres Database URL
# Format: postgresql://user:password@localhost:5432/dbname
# Example (default postgres user): postgresql://postgres:postgres@localhost:5432/pdfusion
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/pdfusion
# ==========================================
# LITELLM / OLLAMA CONFIGURATION
# ==========================================
# Used for image OCR functionality
VISION_MODEL_ID=ollama/gemma4
OLLAMA_API_BASE=http://localhost:11434
LITELLM_API_KEY=sk-local-proxy
# ==========================================
# STORAGE CONFIGURATION
# ==========================================
# Local directories for file storage
UPLOAD_DIR=uploads
OUTPUT_DIR=outputs