feat: Implement Docker Compose stack management, container monitoring, and interactive bash terminal with new frontend and backend services.

This commit is contained in:
SaelixCode
2026-02-22 14:40:54 -05:00
parent 280090bd2b
commit d5fac02da3
6 changed files with 132 additions and 133 deletions
+6 -2
View File
@@ -162,12 +162,16 @@ export class ComposeService {
}
});
let errorLog = '';
upProcess.stdout.on('data', (data: Buffer) => {
sendOutput(data.toString());
});
upProcess.stderr.on('data', (data: Buffer) => {
sendOutput(data.toString());
const text = data.toString();
errorLog += text;
sendOutput(text);
});
upProcess.on('close', (code: number | null) => {
@@ -176,7 +180,7 @@ export class ComposeService {
resolve();
} else {
sendOutput(`=== Update failed with code ${code} ===\n`);
reject(new Error(`Up failed with code ${code}`));
reject(new Error(errorLog.trim() || `Up failed with code ${code}`));
}
});