mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 21:31:46 +00:00
61 lines
2.4 KiB
Bash
61 lines
2.4 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
|
|
|
|
# =============================================================================
|
|
# LOGGING CONFIGURATION
|
|
# =============================================================================
|
|
|
|
# Log level: trace, debug, info, warn, error
|
|
# HTTP server defaults to 'debug', stdio server defaults to 'info'
|
|
# ASK262_LOG_LEVEL=info
|
|
|
|
# Directory for log files (optional, defaults to ./logs)
|
|
# ASK262_LOG_DIR=./logs
|
|
|
|
# Max log file size in MB before rotation (optional, defaults to 100)
|
|
# System logrotate handles rotation, this is for reference
|
|
# ASK262_LOG_MAX_SIZE=100
|
|
|
|
# Days to keep rotated logs before deletion (optional, defaults to 30)
|
|
# Set to 0 to keep forever
|
|
# ASK262_LOG_RETENTION_DAYS=30
|