doc-forge-reds/.env.example

28 lines
565 B
Plaintext

# Database
POSTGRES_USER=docforge
POSTGRES_PASSWORD=change-this-password
POSTGRES_DB=docforge
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
# Redis
REDIS_URL=redis://localhost:6379/0
# Backend
SECRET_KEY=change-me-to-a-random-secret-key
DEFAULT_MODEL_ID=
# File Storage
STORAGE_ROOT=./storage
# Celery
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND=redis://localhost:6379/1
# CORS (JSON array format)
CORS_ORIGINS=["http://localhost:3000","http://localhost:5173"]
# AI (optional, can be configured in the web UI)
OPENAI_API_KEY=
AZURE_API_KEY=