CodeCraftLab / .env.example
S-Dreamer's picture
Upload 3 files
178abc4 verified
# CodeCraftLab — Environment Configuration
# Copy to .env and fill in values. Never commit .env to git.
# --------------------------------------------------------------------------
# App
# --------------------------------------------------------------------------
ENV=development # development | staging | production
LOG_LEVEL=INFO # DEBUG | INFO | WARNING | ERROR
# --------------------------------------------------------------------------
# Auth (REQUIRED)
# --------------------------------------------------------------------------
SECRET_KEY=change-me-to-at-least-32-random-chars-in-production
ACCESS_TOKEN_EXPIRE_MINUTES=60
# --------------------------------------------------------------------------
# Database (REQUIRED)
# --------------------------------------------------------------------------
DATABASE_URL=postgresql+asyncpg://codecraftlab:password@localhost:5432/codecraftlab
# --------------------------------------------------------------------------
# HuggingFace (required for Hub push)
# --------------------------------------------------------------------------
HF_TOKEN=hf_xxxxxxxxxxxxxxxxxxxx
MODEL_CACHE_DIR=./cache
# --------------------------------------------------------------------------
# Training
# --------------------------------------------------------------------------
MAX_CONCURRENT_JOBS=2
JOB_OUTPUT_DIR=./checkpoints
# --------------------------------------------------------------------------
# CORS (comma-separated list for production)
# --------------------------------------------------------------------------
CORS_ORIGINS=["http://localhost:3000"]