feat(updater): disable the in-app updater in containerized installs

Consume the injected CONTAINERIZED flag: expose it on /app/version, block the update endpoints + console command, and show a 'docker compose pull' panel instead of the updater.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Darko Gjorgjijoski
2026-06-14 23:43:18 +02:00
parent 9795bc1d6f
commit 6f45b58933
9 changed files with 139 additions and 10 deletions

View File

@@ -27,6 +27,7 @@ class AppVersionController extends Controller
return response()->json([
'version' => $version,
'channel' => $channel,
'containerized' => (bool) config('invoiceshelf.containerized'),
]);
}
}