-
-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy path.env.example
More file actions
88 lines (70 loc) · 3.25 KB
/
Copy path.env.example
File metadata and controls
88 lines (70 loc) · 3.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# GPT Home Environment Configuration
# Copy this file to .env and fill in your values
# =============================================================================
# DATABASE CONFIGURATION (PostgreSQL with pgvector)
# =============================================================================
# PostgreSQL credentials for docker-compose
POSTGRES_USER=gpt_home
POSTGRES_PASSWORD=gpt_home_password
POSTGRES_DB=gpt_home_db
# Full database connection URL (used by the application)
# Format: postgresql://user:password@host:port/database
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@127.0.0.1:5432/${POSTGRES_DB}
# =============================================================================
# AI/LLM CONFIGURATION
# =============================================================================
# LiteLLM is used for multi-provider support (100+ LLM providers)
# See https://docs.litellm.ai/docs/providers for all supported providers
# LiteLLM API Key (required for LLM and embeddings)
# Supports: OpenAI, Anthropic, Google, Cohere, Azure, and 100+ more
# Can be edited via web UI Settings page
LITELLM_API_KEY=
# Model to use - LiteLLM format
# Examples: gpt-4o-mini, gpt-4, claude-3-5-sonnet-20241022, gemini/gemini-pro
MODEL=gpt-4o-mini
# Embedding model for semantic memory (format: provider:model)
# Examples: openai:text-embedding-3-small, cohere:embed-english-v3.0
# See: https://docs.litellm.ai/docs/embedding/supported_embedding
EMBEDDING_MODEL=openai:text-embedding-3-small
EMBEDDING_DIMS=1536
SPOTIFY_BROKER_URL=https://gpt-home.judahpaul.com
# =============================================================================
# LANGSMITH TRACING (optional - for observability)
# =============================================================================
# Enable LangSmith tracing (true/false)
LANGSMITH_TRACING=false
# LangSmith API key (get from https://smith.langchain.com)
LANGSMITH_API_KEY=
# LangSmith project name
LANGSMITH_PROJECT=gpt-home
# LangSmith endpoint (default: https://api.smith.langchain.com)
LANGSMITH_ENDPOINT=https://api.smith.langchain.com
# =============================================================================
# MEMORY CONFIGURATION
# =============================================================================
# Default user ID for memory storage
DEFAULT_USER_ID=default_user
# Memory namespace prefix
MEMORY_NAMESPACE=gpt_home
# Enable background memory processing (true/false)
ENABLE_BACKGROUND_MEMORY=true
# =============================================================================
# APPLICATION SETTINGS
# =============================================================================
# Debug mode (true/false)
DEBUG=false
# Log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
LOG_LEVEL=INFO
# API host and port
API_HOST=0.0.0.0
API_PORT=8000
# =============================================================================
# DOCKER COMPOSE PROFILE
# =============================================================================
# Controls which frontend service runs:
# prod - frontend: Pre-built React static files served via nginx
# dev - frontend-dev: React dev server with hot reload on port 80
#
# Default is 'prod'. Just run: docker compose up -d
# For development: COMPOSE_PROFILES=dev docker compose up
COMPOSE_PROFILES=prod