mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 13:32:08 +01:00
feat: update .env.local.example to use quotes for environment variables
chore: add @vitest/coverage-v8 dependency to package.json chore: update pnpm-lock.yaml with new dependencies and versions test: enhance env.test.ts to validate environment variable handling and defaults
This commit is contained in:
22
.env.example
22
.env.example
@ -2,21 +2,21 @@
|
||||
# This file ensures NextAuth always has necessary environment variables in development
|
||||
|
||||
# NextAuth.js configuration
|
||||
NEXTAUTH_URL=http://192.168.1.2:3000
|
||||
NEXTAUTH_SECRET=this_is_a_fixed_secret_for_development_only
|
||||
NODE_ENV=development
|
||||
NEXTAUTH_URL="http://localhost:3000"
|
||||
NEXTAUTH_SECRET="this_is_a_fixed_secret_for_development_only"
|
||||
NODE_ENV="development"
|
||||
|
||||
# OpenAI API key for session processing
|
||||
# Add your API key here: OPENAI_API_KEY=sk-...
|
||||
OPENAI_API_KEY=your_openai_api_key_here
|
||||
OPENAI_API_KEY="your_openai_api_key_here"
|
||||
|
||||
# Database connection - already configured in your prisma/schema.prisma
|
||||
|
||||
# Scheduler Configuration
|
||||
SCHEDULER_ENABLED=false # Enable/disable all schedulers (false for dev, true for production)
|
||||
CSV_IMPORT_INTERVAL=*/15 * * * * # Cron expression for CSV imports (every 15 minutes)
|
||||
IMPORT_PROCESSING_INTERVAL=*/5 * * * * # Cron expression for processing imports to sessions (every 5 minutes)
|
||||
IMPORT_PROCESSING_BATCH_SIZE=50 # Number of imports to process at once
|
||||
SESSION_PROCESSING_INTERVAL=0 * * * * # Cron expression for AI session processing (every hour)
|
||||
SESSION_PROCESSING_BATCH_SIZE=0 # 0 = unlimited sessions, >0 = specific limit
|
||||
SESSION_PROCESSING_CONCURRENCY=5 # How many sessions to process in parallel
|
||||
SCHEDULER_ENABLED="false" # Enable/disable all schedulers (false for dev, true for production)
|
||||
CSV_IMPORT_INTERVAL="*/15 * * * *" # Cron expression for CSV imports (every 15 minutes)
|
||||
IMPORT_PROCESSING_INTERVAL="*/5 * * * *" # Cron expression for processing imports to sessions (every 5 minutes)
|
||||
IMPORT_PROCESSING_BATCH_SIZE="50" # Number of imports to process at once
|
||||
SESSION_PROCESSING_INTERVAL="0 * * * *" # Cron expression for AI session processing (every hour)
|
||||
SESSION_PROCESSING_BATCH_SIZE="0" # 0 = unlimited sessions, >0 = specific limit
|
||||
SESSION_PROCESSING_CONCURRENCY="5" # How many sessions to process in parallel
|
||||
|
||||
Reference in New Issue
Block a user