# ------------------------------------------ # 1. Database & Redis Connection # ------------------------------------------ # If using docker-compose, these are automatically mapped to the containers. POSTGRES_USER=postgres POSTGRES_PASSWORD=your_secure_db_password_here POSTGRES_DB=open_indexing DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:5433/${POSTGRES_DB} REDIS_URL=redis://localhost:6379 # ------------------------------------------ # 2. AI Engine Configuration # ------------------------------------------ # By default, the system uses Groq for lightning-fast E-E-A-T and Search Intent analysis. # Get a free API key at: https://console.groq.com/keys GROQ_API_KEY=your_groq_api_key_here # Optional: Use Local AI instead of Groq # Set this to true to use Ollama for all AI tasks (requires Ollama running on your machine) USE_LOCAL_AI=false OLLAMA_URL=http://localhost:11434 # ------------------------------------------ # 3. Security (Optional but Recommended) # ------------------------------------------ # If you are hosting this on a public VPS, set a password to lock down the dashboard. # Leave blank for local development. ADMIN_PASSWORD=your_secure_password_here # ------------------------------------------ # 4. CORS & API Access # ------------------------------------------ # If deploying to a remote server, set this to the public URL of your frontend # e.g., http://203.0.113.5:3000 or https://crawler.yourdomain.com FRONTEND_URL=http://localhost:3000 # ------------------------------------------ # 5. Google Indexing API (Optional) # ------------------------------------------ # Required to enable the one-click Google Indexing submission feature. # Setup: # 1. Go to console.cloud.google.com and create a project # 2. Enable the "Indexing API" # 3. Create a Service Account → Actions → Manage Keys → Add Key → JSON # 4. In Google Search Console, add the service account email as an OWNER # 5. Paste the ENTIRE contents of the downloaded JSON file below (as a single line or multi-line) # Leave blank to disable the Indexing feature. GOOGLE_SERVICE_ACCOUNT_JSON=