Spaces:
Runtime error
Runtime error
File size: 1,653 Bytes
178abc4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | # 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"]
|