fix(traefik): increase migration wait time for service removal

Adjust sleep/timeout duration in Traefik migration scripts to ensure proper service removal and container initialization
This commit is contained in:
Mauricio Siu
2025-03-10 01:54:25 -06:00
parent e63eed57dd
commit fce22ec1d0
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ export const initializeTraefik = async ({
try {
const service = docker.getService("dokploy-traefik");
await service?.remove({ force: true });
await new Promise((resolve) => setTimeout(resolve, 5000));
await new Promise((resolve) => setTimeout(resolve, 9000));
} catch (_) {}
const container = docker.getContainer(containerName);