# Database DATABASE_URL=postgresql://legalai:legalai@localhost:5432/legalai # Authentication NEXTAUTH_URL=http://localhost:3000 NEXTAUTH_SECRET=your-secret-here # AI Providers (set the one you use: anthropic, openai, ollama) AI_PROVIDER=anthropic ANTHROPIC_API_KEY= OPENAI_API_KEY= # Ollama (local LLM) OLLAMA_URL=http://localhost:11434 OLLAMA_MODEL=llama3 # Search MEILISEARCH_URL=http://localhost:7700 MEILISEARCH_API_KEY=masterKey # Encryption (required for per-tenant API key storage) # Generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))" ENCRYPTION_KEY=