Files
ask262/.env.example
T

42 lines
1.8 KiB
Bash

# Ask262 Environment Configuration
# Copy this file to .env and fill in your actual values
# Bun automatically loads .env files - no dotenv package needed!
# =============================================================================
# EMBEDDING PROVIDER CONFIGURATION
# =============================================================================
# Choose your embedding provider: "ollama" (local) or "fireworks" (cloud)
# Default: "ollama"
ASK262_EMBEDDING_PROVIDER=ollama
# =============================================================================
# OLLAMA (LOCAL) CONFIGURATION
# =============================================================================
# Ollama server URL (optional, defaults to http://localhost:11434)
# OLLAMA_HOST=http://localhost:11434
# =============================================================================
# FIREWORKS.AI (CLOUD) CONFIGURATION
# =============================================================================
# Required if using Fireworks embeddings
# Get your API key from: https://app.fireworks.ai/models/fireworks/qwen3-embedding-8b
# FIREWORKS_API_KEY=fw_xxxxxxxxxxxxxxxxxxxxxxxx
# Fireworks base URL (optional, defaults to https://api.fireworks.ai/inference/v1)
# FIREWORKS_BASE_URL=https://api.fireworks.ai/inference/v1
# =============================================================================
# HTTP SERVER CONFIGURATION
# =============================================================================
# Port for the HTTP MCP server (optional, defaults to 8081)
# ASK262_PORT=8081
# Public URL for the MCP server (used by MCP Inspector to auto-connect)
# Required when running behind a reverse proxy or in production
# Example: https://ask262.bendtherules.in or https://your-server.com
# MCP_PUBLIC_URL=http://localhost:8081