stack.env

This commit is contained in:
Aaron Roberts
2026-06-09 15:06:02 +01:00
parent bd19e09630
commit ba313ee808
2 changed files with 24 additions and 0 deletions

1
.gitignore vendored
View File

@@ -46,6 +46,7 @@ yarn.lock
pnpm-lock.yaml pnpm-lock.yaml
# Environment # Environment
.env
.env.local .env.local
.env.development.local .env.development.local
.env.test.local .env.test.local

23
stack.env Normal file
View File

@@ -0,0 +1,23 @@
# DeepSeek OCR Application Configuration
# API Configuration
API_HOST=0.0.0.0
API_PORT=8000
# Frontend Configuration
FRONTEND_PORT=3000
# Model Configuration
MODEL_NAME=deepseek-ai/DeepSeek-OCR
HF_HOME=/models
# CORS Configuration (comma-separated origins, defaults to http://localhost:3000)
CORS_ORIGINS=http://localhost:3000
# Upload Configuration
MAX_UPLOAD_SIZE_MB=100
# Processing Configuration
BASE_SIZE=1024
IMAGE_SIZE=640
CROP_MODE=true