mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix: throw error if traefik container creation fails for a reason other than port
This commit is contained in:
@@ -139,6 +139,8 @@ export const initializeTraefik = async ({
|
|||||||
const newContainer = docker.getContainer(containerName);
|
const newContainer = docker.getContainer(containerName);
|
||||||
await newContainer.start();
|
await newContainer.start();
|
||||||
console.log("Traefik container started successfully after retry");
|
console.log("Traefik container started successfully after retry");
|
||||||
|
} else {
|
||||||
|
throw error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user