mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-09 21:43:05 +09:00
- POST /api/v1/apps/<id>/image-update/apply pulls the newest image for a compose-managed app, then recreates it (compose_pull + compose_up), reusing the existing local/remote deploy path (DockerService / RemoteDockerService) exactly like start_app. Refreshes the image_update badge afterward. - Guarded to docker-compose apps; a standalone container would need its full run spec to recreate, so those get a clear "update manually" message. - 4 tests: pull-then-recreate ordering, pull-failure propagation, non-compose guard, auth gate. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>