# Core Code API Configuration # Copy to .env and fill in real values # ============================================================================= # Application # ============================================================================= APP_NAME="Core Code API" DEBUG=false LOG_LEVEL=INFO # ============================================================================= # Server # ============================================================================= HOST=0.0.0.0 PORT=8083 # CORS (default allows all origins for internal use) # CORS_ORIGINS=["http://192.168.86.149:82"] # ============================================================================= # Infrastructure Services # ============================================================================= # Portainer API (required for container/stack management) PORTAINER_URL=http://localhost:8001 PORTAINER_API_KEY=ptr_your-api-key-here # Nginx Proxy Manager API NPM_URL=http://localhost:81 NPM_EMAIL=admin@example.com NPM_PASSWORD=your-npm-password # ============================================================================= # Home Automation # ============================================================================= # Home Assistant API HOMEASSISTANT_URL=http://localhost:8123 HOMEASSISTANT_TOKEN=your-long-lived-access-token # ============================================================================= # AI Services # ============================================================================= # Ollama API OLLAMA_BASE_URL=http://localhost:11434 # SearXNG (self-hosted search) SEARXNG_URL=http://localhost:8080 # ============================================================================= # Database (PostgreSQL) # ============================================================================= POSTGRES_HOST=localhost:5432 POSTGRES_USER=core_api POSTGRES_PASSWORD=your-password # ============================================================================= # Vector Database # ============================================================================= # Qdrant QDRANT_HOST=qdrant QDRANT_PORT=6333