mirror of
https://github.com/parcadei/Continuous-Claude-v3.git
synced 2026-09-14 20:06:55 +08:00
98c8e37e37
- Add .env.example documenting all environment variables - Add "Remote Database Setup" section to README - Update wizard to generate CONTINUOUS_CLAUDE_DB_URL (canonical name) - Update all scripts/hooks with fallback chain: CONTINUOUS_CLAUDE_DB_URL → DATABASE_URL → OPC_POSTGRES_URL - Existing users unaffected (fallback chain preserves backwards compat) Closes #85 Co-Authored-By: marcodelpin <marcodelpin@users.noreply.github.com> Co-Authored-By: Claude <227596144+parcadei@users.noreply.github.com>
45 lines
1.5 KiB
Bash
45 lines
1.5 KiB
Bash
# Continuous Claude Environment Variables
|
|
# Copy to .env and customize as needed
|
|
|
|
# =============================================================================
|
|
# DATABASE CONNECTION
|
|
# =============================================================================
|
|
|
|
# PostgreSQL Connection String (canonical name)
|
|
# The wizard generates this automatically. For remote databases, set manually:
|
|
# CONTINUOUS_CLAUDE_DB_URL=postgresql://user:password@hostname:5432/continuous_claude
|
|
|
|
# Backwards compatible alternatives (also work):
|
|
# DATABASE_URL=postgresql://... (industry standard)
|
|
# OPC_POSTGRES_URL=postgresql://... (legacy)
|
|
|
|
# Docker PostgreSQL defaults (used by docker-compose.yml)
|
|
POSTGRES_USER=claude
|
|
POSTGRES_PASSWORD=claude_dev
|
|
POSTGRES_DB=continuous_claude
|
|
POSTGRES_PORT=5432
|
|
|
|
# =============================================================================
|
|
# EMBEDDING CONFIGURATION
|
|
# =============================================================================
|
|
|
|
# Embedding provider: local, ollama, openai, voyage
|
|
EMBEDDING_PROVIDER=local
|
|
|
|
# Ollama settings (if using ollama provider)
|
|
# OLLAMA_HOST=http://localhost:11434
|
|
# OLLAMA_EMBED_MODEL=nomic-embed-text
|
|
|
|
# =============================================================================
|
|
# OPTIONAL API KEYS
|
|
# =============================================================================
|
|
|
|
# Web search via Perplexity
|
|
# PERPLEXITY_API_KEY=your_perplexity_key_here
|
|
|
|
# Documentation search via Nia
|
|
# NIA_API_KEY=your_nia_key_here
|
|
|
|
# Observability via Braintrust
|
|
# BRAINTRUST_API_KEY=your_braintrust_key_here
|