Part-DB-server/docs
Sebastian Almberg d346708150
Add Docker update support via Watchtower integration (#1330)
* Add Docker update support via Watchtower integration

Add web-based Docker container updates using Watchtower HTTP API.
When configured with WATCHTOWER_API_URL and WATCHTOWER_API_TOKEN
environment variables, administrators can trigger container updates
from the Update Manager page.

Features:
- WatchtowerClient service for Watchtower HTTP API communication
- Docker update progress page with animated Docker whale logo
- Real-time step tracking: Trigger, Pull, Stop, Restart, Health Check, Verify
- CSP-compatible progress bar using CSS classes
- Translated UI strings via Stimulus values
- Health endpoint polling to detect container restart
- Watchtower setup documentation for Docker installations
- WatchtowerClient made nullable for non-Docker installations
- Unit tests for WatchtowerClient

* Fixed translation message IDs

* Switch Watchtower docs to maintained nicholas-fedor fork

The original containrrr/watchtower is no longer maintained (last release
Nov 2023). Point users to the drop-in compatible active fork and add an
info note explaining why. No code changes — the HTTP API is identical,
so WatchtowerClient works against either image.

* Fixed exception when github is not reachable

* Only show version string in health endpoint, when user has permissions

* Do not expose watchtower API port in example docker-compose file

* Show if updates, backup restore and backup download are allowed in update manager page

* Report 'not authorized' for version in health endpoint if user lacks permission

---------

Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2026-05-03 23:00:31 +02:00
..
api Improve documentation clarity and fix outdated information (#1129) 2025-12-06 22:40:45 +01:00
assets Update example import csv to schow real capatibilities 2025-08-31 22:13:54 +02:00
installation Add Docker update support via Watchtower integration (#1330) 2026-05-03 23:00:31 +02:00
screenshots Add Update Manager screenshot for PR 2026-01-30 23:36:08 +01:00
upgrade Updated documentation about node requirements 2026-04-03 21:58:02 +02:00
usage Improved AI extractor 2026-05-03 16:50:46 +02:00
.gitignore Improved documentation 2023-02-08 00:52:45 +01:00
_config.yaml Improved documentation 2023-02-12 23:23:38 +01:00
_config_dev.yaml Improved documentation 2023-02-08 00:52:45 +01:00
CNAME Create CNAME 2023-02-08 23:24:04 +01:00
concepts.md Improve documentation clarity and fix outdated information (#1129) 2025-12-06 22:40:45 +01:00
configuration.md Allow to disable the NoPrivateNetwork protection for attachment downloads via an env variable 2026-04-05 23:14:18 +02:00
Gemfile Improved documentation 2023-02-08 00:52:45 +01:00
index.md Added documentation about AI features 2026-05-03 00:35:49 +02:00
partkeepr_migration.md Fixed more typos and grammar issues in docs 2024-02-23 14:26:17 +01:00
serve.sh Improved documentation 2023-02-08 00:52:45 +01:00
troubleshooting.md Document KiCad's rejection of self-signed certificates (#1140) 2025-12-07 19:31:16 +01:00