mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-09 13:35:19 +00:00
Merge branch 'canary' into feat/better-auth-2
This commit is contained in:
@@ -52,8 +52,15 @@ export const initializeRedis = async () => {
|
||||
...settings,
|
||||
});
|
||||
console.log("Redis Started ✅");
|
||||
} catch (_error) {
|
||||
await docker.createService(settings);
|
||||
} catch (_) {
|
||||
try {
|
||||
await docker.createService(settings);
|
||||
} catch (error: any) {
|
||||
if (error?.statusCode !== 409) {
|
||||
throw error;
|
||||
}
|
||||
console.log("Redis service already exists, continuing...");
|
||||
}
|
||||
console.log("Redis Not Found: Starting ✅");
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user