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

The Docker image already injects CONTAINERIZED=true; consume it via config('invoiceshelf.containerized'), expose it on /app/version, block the update endpoints + console command, and show a 'docker compose pull' panel instead of the updater. Adds missing i18n keys.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Darko Gjorgjijoski
2026-06-14 23:42:11 +02:00
parent c04b84e5b5
commit 9e496102d4
10 changed files with 146 additions and 15 deletions

View File

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