Major performance optimization: - Completely exclude /bibles/ (7GB+) and /scripts/ directories from webpack processing - Add watchOptions to ignore these directories during development - Install ignore-loader to skip large data files - Update .nextignore with comprehensive exclusion patterns - This should reduce build memory usage from 15GB to ~2-4GB 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
33 lines
944 B
Plaintext
33 lines
944 B
Plaintext
# Database
|
|
DATABASE_URL=postgresql://postgres:a3ppq@10.0.0.207:5432/biblical-guide
|
|
DB_PASSWORD=a3ppq
|
|
|
|
# Build optimizations
|
|
NEXT_TELEMETRY_DISABLED=1
|
|
# Reduce bundle analysis during builds
|
|
DISABLE_ESLINT_PLUGIN=true
|
|
|
|
# Authentication
|
|
NEXTAUTH_URL=https://biblical-guide.com
|
|
NEXTAUTH_SECRET=development-secret-change-in-production
|
|
JWT_SECRET=development-jwt-secret-change-in-production
|
|
|
|
# Azure OpenAI
|
|
AZURE_OPENAI_KEY=4DhkkXVdDOXZ7xX1eOLHTHQQnbCy0jFYdA6RPJtyAdOMtO16nZmFJQQJ99BCACYeBjFXJ3w3AAABACOGHgNC
|
|
AZURE_OPENAI_ENDPOINT=https://azureopenaiinstant.openai.azure.com
|
|
AZURE_OPENAI_DEPLOYMENT=gpt-4o
|
|
AZURE_OPENAI_API_VERSION=2024-05-01-preview
|
|
AZURE_OPENAI_EMBED_DEPLOYMENT=embed-3
|
|
EMBED_DIMS=3072
|
|
BIBLE_MD_PATH=./bibles/Biblia-Fidela-limba-romana.md
|
|
LANG_CODE=ro
|
|
TRANSLATION_CODE=FIDELA
|
|
|
|
# API Bible
|
|
API_BIBLE_KEY=7b42606f8f809e155c9b0742c4f1849b
|
|
|
|
# Ollama (optional)
|
|
OLLAMA_API_URL=http://localhost:11434
|
|
|
|
# WebSocket port
|
|
WEBSOCKET_PORT=3015 |