feat: add agent-worker compose service for image build + fix port range
This commit is contained in:
@@ -409,7 +409,7 @@ export async function deployAgentContainer(agentId: number): Promise<{
|
||||
};
|
||||
|
||||
const containerName = `goclaw-agent-${agentId}`;
|
||||
const servicePort = 8001 + ((agentId - 1) % 999);
|
||||
const servicePort = 8100 + ((agentId - 1) % 900); // Ports 8100-8999
|
||||
const containerImage =
|
||||
(agent as any).containerImage || "goclaw-agent-worker:latest";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user