-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.env.example
More file actions
84 lines (66 loc) · 2.28 KB
/
Copy path.env.example
File metadata and controls
84 lines (66 loc) · 2.28 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# VendorAuditAI - Environment Configuration
# Copy this file to .env and fill in your values
#
# Usage:
# cp .env.example .env
# # Edit .env with your actual values
# docker-compose up --build
# ============================================
# REQUIRED SETTINGS
# ============================================
# Security Keys (generate with: openssl rand -hex 32)
SECRET_KEY=your-secret-key-minimum-32-characters
JWT_SECRET_KEY=your-jwt-secret-minimum-32-characters
# Database
# SQLite (default for development):
DATABASE_URL=sqlite+aiosqlite:///./data/vendorauditai.db
# PostgreSQL (recommended for production):
# DATABASE_URL=postgresql+asyncpg://user:password@localhost:5432/vendorauditai
# ============================================
# AI PROVIDERS (at least one LLM required)
# ============================================
# LLM Provider: "anthropic" or "gemini"
LLM_PROVIDER=anthropic
# Anthropic (Claude) - Required if LLM_PROVIDER=anthropic
ANTHROPIC_API_KEY=sk-ant-your-key-here
CLAUDE_MODEL=claude-sonnet-4-20250514
# Google Gemini - Required if LLM_PROVIDER=gemini
GOOGLE_API_KEY=your-google-api-key
GEMINI_MODEL=gemini-3.0-flash
# Embeddings Provider: "openai" or "gemini"
EMBEDDING_PROVIDER=openai
# OpenAI - Required if EMBEDDING_PROVIDER=openai
OPENAI_API_KEY=sk-your-openai-key
# ============================================
# OPTIONAL SETTINGS
# ============================================
# Application
APP_ENV=development
DEBUG=true
PORT=8000
HOST=0.0.0.0
# CORS (JSON array of allowed origins)
CORS_ORIGINS=["http://localhost:8000","http://localhost:3000","http://localhost:5173"]
# Rate Limiting
RATE_LIMIT_REQUESTS=100
RATE_LIMIT_WINDOW_SECONDS=60
# JWT Token Expiration
ACCESS_TOKEN_EXPIRE_MINUTES=30
REFRESH_TOKEN_EXPIRE_DAYS=7
# Storage Backend: "local" or "minio"
STORAGE_BACKEND=local
LOCAL_STORAGE_PATH=./uploads
# MinIO/S3 (if STORAGE_BACKEND=minio)
# MINIO_ENDPOINT=localhost:9000
# MINIO_ACCESS_KEY=minioadmin
# MINIO_SECRET_KEY=minioadmin
# MINIO_BUCKET=documents
# MINIO_SECURE=false
# Azure Document Intelligence (optional - for OCR)
# USE_AZURE_DOC_INTEL=false
# AZURE_DOC_INTEL_ENDPOINT=
# AZURE_DOC_INTEL_KEY=
# Celery (optional - for async task processing)
# USE_CELERY=false
# CELERY_BROKER_URL=redis://localhost:6379/0
# CELERY_RESULT_BACKEND=redis://localhost:6379/1