remove unused code

This commit is contained in:
Narciso
2026-08-24 20:52:35 -04:00
parent bee6918d9a
commit e2ab2eb6bc
@@ -73,12 +73,6 @@ export const setupMonitoring = async (serverId: string) => {
const serviceName = "dokploy-monitoring";
const imageName = getMonitoringImage();
// No swarm on build servers: clean up the legacy container, deploy nothing.
if (server.serverType === "build") {
await removeLegacyContainer(await getRemoteDocker(serverId), serviceName);
return;
}
const settings: CreateServiceOptions = {
Name: serviceName,
TaskTemplate: {