Files
readur/.env.test
2025-06-17 14:54:59 +00:00

31 lines
790 B
Plaintext

# Test Environment Configuration
DATABASE_URL=postgresql://readur_test:readur_test@localhost:5433/readur_test
JWT_SECRET=test-jwt-secret-key-not-for-production
SERVER_ADDRESS=0.0.0.0:8001
# File Storage & Upload (using temp directories)
UPLOAD_PATH=/tmp/test_uploads
ALLOWED_FILE_TYPES=pdf,png,jpg,jpeg,txt,doc,docx
# Watch Folder Configuration
WATCH_FOLDER=/tmp/test_watch
WATCH_INTERVAL_SECONDS=5
FILE_STABILITY_CHECK_MS=500
MAX_FILE_AGE_HOURS=1
# OCR & Processing Settings (reduced for tests)
OCR_LANGUAGE=eng
CONCURRENT_OCR_JOBS=2
OCR_TIMEOUT_SECONDS=60
MAX_FILE_SIZE_MB=10
# Performance Settings (reduced for tests)
MEMORY_LIMIT_MB=256
CPU_PRIORITY=normal
# Test-specific settings
RUST_LOG=debug
TEST_ENV=true
# Frontend test configuration
VITE_API_BASE_URL=http://localhost:8001