59af13f1fe3bf5c57d97c313404379f369c0532a
Retain/extraction moved off the Kimi wrapper (hindsight-llm:8012) onto ollama/gemma3:4b via LiteLLM, joining consolidation + reflect which were already local (kb#88). Kimi is no longer in the Hindsight path at all, so the memory backend consumes zero quota and Adolf's 5h window is left entirely for conversation. Accepted tradeoff: kb#84/kb#88 kept retain on Kimi for fact quality, since gemma3:4b's Russian fluency was never verified and this bank is largely Russian. A dry-run extraction on Russian input after the change returned clean, parseable output but captured only one of two facts in the sample, so extraction is coherent but lossier. Revert this first if facts degrade. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Agap Home Server
Docker Compose configurations for the Agap self-hosted home server infrastructure.
Services
- Immich (
immich-app/) — Photo management and backup (port 2283) - Gitea (
gitea/) — Self-hosted Git server with web UI (port 3000, SSH 222) - Open WebUI (
openai/) — AI chat interface with Ollama, GPU-accelerated (port 3125)
Quick Start
Start Immich (main service)
docker compose up -d
Start Gitea (from gitea/ directory)
cd gitea
docker compose up -d
Start Open WebUI (from openai/ directory)
cd openai
docker compose up -d
Configuration
Environment variables are in the root .env file for Immich:
UPLOAD_LOCATION— where photo originals are storedTHUMB_LOCATION— thumbnail cache directoryENCODED_VIDEO_LOCATION— transcoded video cacheDB_DATA_LOCATION— Postgres database directoryDB_PASSWORD— Postgres password
Storage
Media is stored on:
/mnt/media/upload— Immich originals/mnt/ssd1/media/— Immich thumbnails, encoded video, and Postgres database/mnt/misc/gitea— Gitea repositories and data
GPU Support
For GPU acceleration (Open WebUI/Ollama, Immich ML):
- Install NVIDIA Docker runtime:
sudo ./nvidia-docker-install.sh - Install CUDA toolkit:
./install-cuda.sh
Documentation
See CLAUDE.md for detailed developer instructions and Gitea wiki integration guidelines.
See the Gitea wiki for infrastructure documentation (storage, network, services setup).
Description
Languages
JavaScript
49%
Python
39.8%
Shell
6.9%
Dockerfile
1.8%
HTML
1.5%
Other
1%