-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
39 lines (33 loc) · 1.05 KB
/
.env.example
File metadata and controls
39 lines (33 loc) · 1.05 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
# OCR Processor Environment Variables
# Copy this file to .env and update the values as needed
# Application Configuration
OCR_LOG_LEVEL=INFO
OCR_DEFAULT_LANGUAGE=heb+eng
OCR_DEFAULT_MODE=cli
OCR_MAX_CONCURRENT_JOBS=4
OCR_MAX_FILE_SIZE=104857600
OCR_TIMEOUT_PER_FILE=300
# API Configuration
OCR_ENABLE_API=true
OCR_API_HOST=0.0.0.0
OCR_API_PORT=8000
# Database Configuration
OCR_ENABLE_DATABASE=true
OCR_DATABASE_URL=postgresql://ocr_user:ocr_password@localhost:5432/ocr_db
# Notification Configuration (optional)
OCR_ENABLE_NOTIFICATIONS=false
OCR_NOTIFICATION_EMAIL=admin@example.com
OCR_SMTP_SERVER=smtp.gmail.com
OCR_SMTP_PORT=587
OCR_SMTP_USERNAME=your-email@gmail.com
OCR_SMTP_PASSWORD=your-app-password
OCR_WEBHOOK_URL=https://your-webhook-url.com
# Logging Configuration
OCR_LOG_TO_FILE=true
OCR_LOG_DIRECTORY=logs
OCR_REMOTE_LOG_URL=https://your-logging-service.com
# Data Directories (relative to project root)
# These will be created automatically if they don't exist
DATA_INPUT_DIR=./data/input
DATA_OUTPUT_DIR=./data/output
DATA_ARCHIVE_DIR=./data/archive