# Vignette local development env example. # Production/compose deployment should use infra/.env.example instead. ENVIRONMENT=dev DATABASE_URL=postgresql://vignette_app:change-me-app@127.0.0.1:55432/vignette # Engine gateway. For local Claude CLI gateway, run apps/api/engine_gateway on 9099. ENGINE_URL=http://127.0.0.1:9099 ENGINE_MODE=claude_cli # External providers. Keep real secrets in .env files only. ANTHROPIC_API_KEY= OPENAI_API_KEY= OPENAI_BASE_URL=https://api.openai.com/v1 VIGNETTE_VOICE_POC_SAMPLE_TTS=false VIGNETTE_VOICE_POC_SAMPLE_TTS_DIR= # Auth/session. Local dev may enable dev-login; public/prod must not. SESSION_SECRET=dev-insecure-change-me OAUTH_GOOGLE_CLIENT_ID= OAUTH_GOOGLE_CLIENT_SECRET= OAUTH_REDIRECT_URI=https://api-vignette.chanpaca.net/auth/callback AUTH_ALLOWED_EMAIL_DOMAINS=["hs.ac.kr","twentyoz.kr"] AUTH_TEACHER_EMAILS=[] AUTH_ADMIN_EMAILS=[] AUTH_DEV_LOGIN_ENABLED=true AUTH_DEV_LOGIN_EXTRA_ORIGINS=[] DEFAULT_AFFILIATION= AUTO_SEED_PERSONAS=false ALLOW_SEED_PERSONA_FALLBACK=false EVALUATOR_GOLDEN_FEWSHOT_ENABLED=false FRONTEND_BASE_URL=http://localhost:5173 FRONTEND_ORIGIN_MAP={"api-vignette.chanpaca.net":"https://vignette.chanpaca.net","api-vnet.18ka.net":"https://vnet.18ka.net"} CORS_ORIGINS=["https://vignette.chanpaca.net","https://vnet.18ka.net","https://vignette-b1q.pages.dev","http://localhost:5170","http://localhost:5171","http://localhost:5172","http://localhost:5173","http://localhost:5174","http://localhost:5175","http://localhost:5176","http://localhost:5177","http://localhost:5178","http://localhost:5179","http://localhost:5180","http://127.0.0.1:5170","http://127.0.0.1:5171","http://127.0.0.1:5172","http://127.0.0.1:5173","http://127.0.0.1:5174","http://127.0.0.1:5175","http://127.0.0.1:5176","http://127.0.0.1:5177","http://127.0.0.1:5178","http://127.0.0.1:5179","http://127.0.0.1:5180"] # Operational email notifications. Use smtp only when SMTP credentials are ready. NOTIFICATION_EMAIL_PROVIDER=disabled NOTIFICATION_EMAIL_MAX_ATTEMPTS=3 NOTIFICATION_EMAIL_RETRY_SECONDS=900 SMTP_HOST= SMTP_PORT=587 SMTP_USERNAME= SMTP_PASSWORD= SMTP_FROM_EMAIL= SMTP_FROM_NAME=Vignette SMTP_STARTTLS=true SMTP_SSL=false # Live2D runtime. Models must be configured per persona via live2dModelUrl. VITE_LIVE2D_CUBISM_CORE=/live2d/live2dcubismcore.min.js # Engine CLI fallback path. CLAUDE_P_PATH=claude GLM_OR_FALLBACK_MODEL=