# ╔═══════════════════════════════════════════════════════════╗ # ║ HomeAI Kit — Configuration ║ # ║ ║ # ║ Copy this file to .env and edit the values below. ║ # ║ At minimum, change POSTGRES_PASSWORD. ║ # ║ ║ # ║ Usage: ║ # ║ cp .env.example .env ║ # ║ nano .env # edit passwords ║ # ║ docker compose up -d # start core services ║ # ╚═══════════════════════════════════════════════════════════╝ # === Ollama === # No auto-pull env var exists. After startup, pull a model manually: # docker exec homeai-ollama ollama pull llama3.2:3b # Or use the helper script: # ./scripts/pull-models.sh llama3.2:3b OLLAMA_PORT=11434 # === Open WebUI === # Chat interface — visit http://localhost:3000 after startup. # You'll create an admin account on first visit. WEBUI_PORT=3000 # === PostgreSQL (n8n backend) === POSTGRES_USER=homeai POSTGRES_PASSWORD=CHANGE-ME-use-a-real-password POSTGRES_DB=n8n POSTGRES_PORT=5432 # === n8n (Workflow Automation) === # Visit http://localhost:5678 after startup to create your owner account. # n8n uses interactive signup — no env-var auth. N8N_PORT=5678 N8N_HOST=localhost # === ChromaDB (Vector Database) === CHROMA_PORT=8000 # Token auth (recommended — prevents other devices on your LAN from accessing your embeddings) # Remove or leave empty to disable auth. CHROMA_SERVER_AUTHN_CREDENTIALS=CHANGE-ME-use-a-random-token CHROMA_SERVER_AUTHN_PROVIDER=chromadb.auth.token_authn.TokenAuthenticationServerProvider # === SearXNG (Private Search) === SEARXNG_PORT=8080 # === Optional: LibreTranslate === # Only started with: docker compose --profile extras up -d LIBRETRANSLATE_PORT=5000 LT_LOAD_ONLY=en,es,fr,de # === Optional: Redis === # Only started with: docker compose --profile extras up -d REDIS_PORT=6379 # === Optional: ChromaDB Admin === # Only started with: docker compose --profile extras up -d CHROMADB_ADMIN_PORT=3002