mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-18 03:02:56 +00:00
remove unused code
This commit is contained in:
@@ -73,12 +73,6 @@ export const setupMonitoring = async (serverId: string) => {
|
|||||||
const serviceName = "dokploy-monitoring";
|
const serviceName = "dokploy-monitoring";
|
||||||
const imageName = getMonitoringImage();
|
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 = {
|
const settings: CreateServiceOptions = {
|
||||||
Name: serviceName,
|
Name: serviceName,
|
||||||
TaskTemplate: {
|
TaskTemplate: {
|
||||||
|
|||||||
Reference in New Issue
Block a user