remove refreshes the plugin pipeline; spawned plugins advertise their container name (HOSTNAME)
Build and Push Docker Image / build (push) Failing after 13s
Build and Push Docker Image / build (push) Failing after 13s
This commit is contained in:
@@ -1247,6 +1247,9 @@ export class UnifiedAPIServer {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
await this.containerManager.removePlugin(pluginId);
|
await this.containerManager.removePlugin(pluginId);
|
||||||
|
// Drop it from the processing pipeline too (else it lingers in
|
||||||
|
// /api/plugins until the next rescan or restart).
|
||||||
|
await this.getPluginManager?.()?.loadContainerPlugins();
|
||||||
return {
|
return {
|
||||||
success: true,
|
success: true,
|
||||||
message: `Plugin '${pluginId}' removed successfully`
|
message: `Plugin '${pluginId}' removed successfully`
|
||||||
|
|||||||
@@ -468,6 +468,9 @@ export class ContainerManager extends EventEmitter {
|
|||||||
// Scan shows it as bound elsewhere, never addable).
|
// Scan shows it as bound elsewhere, never addable).
|
||||||
BEACON_ADVERTISE_URL: `http://${containerName}:8080`,
|
BEACON_ADVERTISE_URL: `http://${containerName}:8080`,
|
||||||
BEACON_BINDS: hostname(),
|
BEACON_BINDS: hostname(),
|
||||||
|
// Docker's own HOSTNAME is the container id; advertise a name
|
||||||
|
// an operator can read in the Scan card.
|
||||||
|
HOSTNAME: containerName,
|
||||||
},
|
},
|
||||||
// Docker Desktop grouping
|
// Docker Desktop grouping
|
||||||
stackName: this.stackName,
|
stackName: this.stackName,
|
||||||
|
|||||||
Reference in New Issue
Block a user