125 lines
3.3 KiB
Plaintext
125 lines
3.3 KiB
Plaintext
# Ruvector - Environment Configuration Example
|
|
# Copy this file to .env and update with your actual values
|
|
# NEVER commit .env to version control!
|
|
|
|
# ============================================
|
|
# Package Publishing
|
|
# ============================================
|
|
|
|
# Crates.io API Token
|
|
# Get from: https://crates.io/me
|
|
CRATES_API_KEY=your-crates-io-api-token-here
|
|
|
|
# NPM Publishing Token
|
|
# Get from: https://www.npmjs.com/settings/~/tokens
|
|
NPM_TOKEN=npm_your-npm-token-here
|
|
|
|
# ============================================
|
|
# AI Provider API Keys
|
|
# ============================================
|
|
|
|
# Anthropic API Key (for Claude)
|
|
# Get from: https://console.anthropic.com/
|
|
ANTHROPIC_API_KEY=sk-ant-your-key-here
|
|
|
|
# OpenAI API Key
|
|
# Get from: https://platform.openai.com/api-keys
|
|
OPENAI_API_KEY=sk-your-openai-key-here
|
|
|
|
# Google AI API Key (for Gemini)
|
|
# Get from: https://aistudio.google.com/apikey
|
|
GOOGLE_API_KEY=your-google-ai-key-here
|
|
|
|
# ============================================
|
|
# HuggingFace Configuration
|
|
# ============================================
|
|
|
|
# HuggingFace API Token
|
|
# Get from: https://huggingface.co/settings/tokens
|
|
HF_TOKEN=hf_your-huggingface-token-here
|
|
HUGGING_FACE_HUB_TOKEN=hf_your-huggingface-token-here
|
|
|
|
# HuggingFace Cache Directory
|
|
# HF_HOME=~/.cache/huggingface
|
|
|
|
# ============================================
|
|
# Claude Flow Configuration
|
|
# ============================================
|
|
|
|
# Configuration file path
|
|
CLAUDE_FLOW_CONFIG=./claude-flow.config.json
|
|
|
|
# Log level (trace, debug, info, warn, error)
|
|
CLAUDE_FLOW_LOG_LEVEL=info
|
|
|
|
# Memory backend (hybrid, sqlite, memory)
|
|
CLAUDE_FLOW_MEMORY_BACKEND=hybrid
|
|
|
|
# Memory storage path
|
|
CLAUDE_FLOW_MEMORY_PATH=./data/memory
|
|
|
|
# MCP Server Configuration
|
|
CLAUDE_FLOW_MCP_PORT=3000
|
|
CLAUDE_FLOW_MCP_HOST=localhost
|
|
CLAUDE_FLOW_MCP_TRANSPORT=stdio
|
|
|
|
# ============================================
|
|
# Development & Testing
|
|
# ============================================
|
|
|
|
# Rust log level (trace, debug, info, warn, error)
|
|
RUST_LOG=info
|
|
|
|
# Enable backtrace on panic
|
|
RUST_BACKTRACE=1
|
|
|
|
# ============================================
|
|
# Optional: Build Configuration
|
|
# ============================================
|
|
|
|
# Number of parallel jobs for compilation
|
|
# CARGO_BUILD_JOBS=4
|
|
|
|
# Target directory for build artifacts
|
|
# CARGO_TARGET_DIR=target
|
|
|
|
# ============================================
|
|
# Optional: Benchmark Configuration
|
|
# ============================================
|
|
|
|
# Number of iterations for benchmarks
|
|
# BENCHMARK_ITERATIONS=100
|
|
|
|
# Dataset size for performance tests
|
|
# BENCHMARK_DATASET_SIZE=1000000
|
|
|
|
# ============================================
|
|
# Optional: Database Configuration
|
|
# ============================================
|
|
|
|
# PostgreSQL connection (for pg extension)
|
|
# DATABASE_URL=postgres://user:pass@localhost:5432/ruvector
|
|
|
|
# Redis connection (for caching)
|
|
# REDIS_URL=redis://localhost:6379
|
|
|
|
# ============================================
|
|
# Optional: Cloud Deployment
|
|
# ============================================
|
|
|
|
# GCP Project ID
|
|
# GCP_PROJECT_ID=your-project-id
|
|
|
|
# AWS Region
|
|
# AWS_REGION=us-east-1
|
|
|
|
# ============================================
|
|
# Optional: Monitoring & Observability
|
|
# ============================================
|
|
|
|
# Sentry DSN for error tracking
|
|
# SENTRY_DSN=https://your-sentry-dsn
|
|
|
|
# Datadog API Key
|
|
# DD_API_KEY=your-datadog-key
|