# Database URLs for local development CMS_DATABASE_URL=postgresql://user:password@localhost:5432/openccb_cms LMS_DATABASE_URL=postgresql://user:password@localhost:5432/openccb_lms # General fallback DATABASE_URL=postgresql://user:password@localhost:5432/openccb_cms # JWT Secret JWT_SECRET=dev_jwt_secret_change_in_production # Logging RUST_LOG=debug # AI Configuration # Providers: 'openai' or 'local' AI_PROVIDER=local OPENAI_API_KEY= # Local AI (Ollama & Whisper) - Production (HTTPS with SSH tunnel) PROD_WHISPER_URL=http://host.docker.internal:8080 # SMTP for local development SMTP_ENABLED=true SMTP_HOST=mailpit SMTP_PORT=1025 SMTP_FROM=OpenCCB Dev SMTP_USERNAME= SMTP_PASSWORD= # Next.js public variables for local development NEXT_PUBLIC_CMS_API_URL=http://localhost:3001 NEXT_PUBLIC_LMS_API_URL=http://localhost:3002/lms-api NEXT_PUBLIC_STUDIO_DOMAIN=localhost NEXT_PUBLIC_LEARNING_DOMAIN=localhost # MySQL for courses integration (local) MYSQL_DATABASE_URL=mysql://user:password@host.docker.internal:3306/courses_db # SAM Diagnostico DB (local) SAM_DIAGNOSTICO_DATABASE_URL=postgresql://user:password@host.docker.internal:5434/sam_db