chore(docker): aspnet runtime image, port 8080 and A2A settings

This commit is contained in:
EugeneTes
2026-10-07 14:08:11 +00:00
parent 372c600503
commit b53c339bf3
5 changed files with 18 additions and 3 deletions

View File

@@ -41,6 +41,7 @@ var mcp = builder.Configuration.GetSection(McpOptions.SectionName).Get<McpOption
mcp.ApplyEnvironment(Environment.GetEnvironmentVariable);
// Off: no HTTP listener at all (NoHttpServer replaces Kestrel). On: the A2A endpoints on Kestrel (ASPNETCORE_URLS / Urls).
var a2a = builder.Configuration.GetSection(A2AHostOptions.SectionName).Get<A2AHostOptions>() ?? new A2AHostOptions();
if (string.IsNullOrWhiteSpace(a2a.PublicUrl)) a2a.PublicUrl = null; // compose passes an empty A2A__PublicUrl
// One agent directory for sessions, chat-settings.json and scheduler/jobs.json.
var agentDir = VolcanicPaths.DefaultAgentDir;
var scheduling = SchedulerSetup.Options(builder.Configuration.GetSection(SchedulerOptions.SectionName), agentDir);