The monolithic check_updates.py has been split into the update_monitor/ package with separate modules for fetching, extraction, comparison, classification, and notification. This makes the codebase easier to navigate and test. The flat services.yaml is replaced by per-service directories under services/<name>/config.yaml, co-locating config with update scripts and AI review examples. When --auto-update is enabled, services with an auto-update.sh script get their release notes classified by a local Ollama model (using few-shot examples from review-examples/) to decide whether the update can be applied automatically or needs manual admin intervention. Results are reported in a single consolidated Matrix message. Immich is the first service with auto-update configured, using 7 real release note examples to train the classifier.
25 lines
775 B
Text
25 lines
775 B
Text
# Required for authenticated version checks
|
|
PAPERLESS_API_TOKEN=replace-with-api-token
|
|
|
|
# Optional (use if upstream APIs need auth to avoid rate limits)
|
|
GITHUB_TOKEN=optional-github-token
|
|
|
|
# FreshRSS login for authenticated About page
|
|
FRESHRSS_USERNAME=your-username
|
|
FRESHRSS_PASSWORD=your-password
|
|
|
|
# Matrix bot notifications
|
|
MATRIX_HOMESERVER=https://matrix.example.net
|
|
MATRIX_ROOM_ID=!roomid:example.net
|
|
MATRIX_ACCESS_TOKEN=replace-with-access-token
|
|
|
|
# Uptime Kuma push URL
|
|
UPTIME_KUMA_PUSH_URL=https://uptime.example.net/api/push/your-token
|
|
|
|
# Uptime Kuma login for version check
|
|
UPTIME_KUMA_USERNAME=your-username
|
|
UPTIME_KUMA_PASSWORD=your-password
|
|
|
|
# Ollama for AI-driven auto-update classification
|
|
OLLAMA_BASE_URL=http://192.168.1.20:11434
|
|
OLLAMA_MODEL=gemma4:26b-64k
|