Files
openccb/.env.dev
T

51 lines
1.6 KiB
Bash

# 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
ENVIRONMENT=dev
# AI Configuration
# Providers: 'openai' or 'local'
AI_PROVIDER=local
OPENAI_API_KEY=
# Local AI (Ollama & Whisper) - local execution
LOCAL_OLLAMA_URL=http://192.168.0.5:11434
LOCAL_WHISPER_URL=http://192.168.0.5:9000
DEV_OLLAMA_URL=http://192.168.0.5:11434
DEV_WHISPER_URL=http://192.168.0.5:9000
DEV_BARK_URL=http://localhost:8000
# SMTP for local development
SMTP_ENABLED=true
SMTP_HOST=mailpit
SMTP_PORT=1025
SMTP_FROM=[LOCAL-QA] OpenCCB Dev <dev@norteamericano.com>
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
# External MySQL/SAM integration (same as production)
MYSQL_DATABASE_URL=mysql://root:Smith3976!@ec2-18-222-25-254.us-east-2.compute.amazonaws.com:3306/sige_sam_v3
SAM_DIAGNOSTICO_DATABASE_URL=mysql://root:Smith3976!@ec2-18-222-25-254.us-east-2.compute.amazonaws.com:3306/SAM_diagnostico
SAM_DATABASE_URL=mysql://root:Smith3976!@ec2-18-222-25-254.us-east-2.compute.amazonaws.com:3306/sige_sam_v3
LOCAL_VIDEO_BRIDGE_URL=http://localhost:8000
EMBEDDING_MODEL=nomic-embed-text
LOCAL_LLM_MODEL=llama3.2:3b
CMS_API_URL=http://studio:3001