Piattaforme: istanza unica dopo lo spostamento dei dati, avvio sicuro del contenitore, rilascio con prove e immagine, accesso senza reindirizzamenti esterni (pkg-1, pkg-2, pkg-3, pkg-4, pkg-5, pkg-6, websec-2, web-8, websec-3)
Registro di casa 192.168.30.23:3000 (HTTP) nel modello Unraid, in compose e nel rilascio con buildx; profilo seccomp fuori da /dati. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mzbb6zeFTjT6Rp8b92AVkA
This commit is contained in:
36 files changed
+1683
-152
No files matched your search
@@ -40,6 +40,13 @@ public sealed record ChromiumLaunchOptions
|
||||
/// The Docker image also ships a policy file for the same purpose.
|
||||
/// </summary>
|
||||
public bool SeedProfilePreferences { get; init; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Called with every browser process right after it starts (also after a restart), before it is ready. Windows: Edge
|
||||
/// is tied to the life of Febe.exe, so that it never outlives a crash of Febe holding the profile and the debugging
|
||||
/// port. Null: nothing.
|
||||
/// </summary>
|
||||
public Action<System.Diagnostics.Process>? ProcessStarted { get; init; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -229,6 +229,8 @@ public sealed class ChromiumProcessHost : IBrowserHost
|
||||
|
||||
private async Task WaitReadyAndConnectAsync(Process process, CancellationToken ct)
|
||||
{
|
||||
// First of all, as close to the start as possible: the processes the browser opens afterwards follow it.
|
||||
_launch.ProcessStarted?.Invoke(process);
|
||||
var options = _options ?? throw new InvalidOperationException("Opzioni mancanti.");
|
||||
var port = options.DebugPort;
|
||||
var deadline = _clock.Now + _launch.StartupTimeout;
|
||||
|
||||
Reference in new issue
Block a user