Changes committed

This commit is contained in:
2026-06-01 21:49:53 +05:30
parent 8537c653c1
commit 3163bb213e
387 changed files with 21940 additions and 107 deletions

59
docengine/.env.example Normal file
View File

@@ -0,0 +1,59 @@
# Application
APP_NAME=DocEngine
APP_VERSION=1.0.0
APP_ENV=development
APP_DEBUG=true
APP_HOST=0.0.0.0
APP_PORT=7989
APP_WORKERS=4
# Database
DB_HOST=localhost
DB_PORT=5432
DB_NAME=document_engine
DB_USER=postgres
DB_PASSWORD=changeme
DB_SCHEMA=admin
DB_POOL_SIZE=20
DB_MAX_OVERFLOW=10
DB_ECHO=false
# Redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=0
REDIS_PASSWORD=
# Celery
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND=redis://localhost:6379/1
# JWT
JWT_SECRET_KEY=change-this-to-a-secure-random-string
JWT_ALGORITHM=HS256
JWT_ACCESS_TOKEN_EXPIRE_MINUTES=30
JWT_REFRESH_TOKEN_EXPIRE_DAYS=7
# Storage
STORAGE_PROVIDER=local
STORAGE_LOCAL_PATH=./storage
STORAGE_MAX_FILE_SIZE_MB=100
# OCR
OCR_LANGUAGE=en
OCR_USE_GPU=false
# Logging
LOG_LEVEL=INFO
LOG_FORMAT=json
# CORS
CORS_ORIGINS=["http://localhost:3000","http://localhost:8080"]
CORS_ALLOW_CREDENTIALS=true
# Rate Limiting
RATE_LIMIT_REQUESTS=100
RATE_LIMIT_WINDOW_SECONDS=60
# Prometheus
PROMETHEUS_ENABLED=true