S-Dreamer/CodeCraftLab
0
1# CodeCraftLab — Environment Configuration2# Copy to .env and fill in values. Never commit .env to git.3 4# --------------------------------------------------------------------------5# App6# --------------------------------------------------------------------------7ENV=development # development | staging | production8LOG_LEVEL=INFO # DEBUG | INFO | WARNING | ERROR9 10# --------------------------------------------------------------------------11# Auth (REQUIRED)12# --------------------------------------------------------------------------13SECRET_KEY=change-me-to-at-least-32-random-chars-in-production14ACCESS_TOKEN_EXPIRE_MINUTES=6015 16# --------------------------------------------------------------------------17# Database (REQUIRED)18# --------------------------------------------------------------------------19DATABASE_URL=postgresql+asyncpg://codecraftlab:password@localhost:5432/codecraftlab20 21# --------------------------------------------------------------------------22# HuggingFace (required for Hub push)23# --------------------------------------------------------------------------24HF_TOKEN=hf_xxxxxxxxxxxxxxxxxxxx25MODEL_CACHE_DIR=./cache26 27# --------------------------------------------------------------------------28# Training29# --------------------------------------------------------------------------30MAX_CONCURRENT_JOBS=231JOB_OUTPUT_DIR=./checkpoints32 33# --------------------------------------------------------------------------34# CORS (comma-separated list for production)35# --------------------------------------------------------------------------36CORS_ORIGINS=["http://localhost:3000"]37 