mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-18 11:12:56 +00:00
feat(databases): increment ForceUpdate in TaskTemplate for service updates across MariaDB, MongoDB, MySQL, Postgres, and Redis
This commit is contained in:
@@ -107,6 +107,10 @@ export const buildPostgres = async (postgres: PostgresNested) => {
|
||||
await service.update({
|
||||
version: Number.parseInt(inspect.Version.Index),
|
||||
...settings,
|
||||
TaskTemplate: {
|
||||
...settings.TaskTemplate,
|
||||
ForceUpdate: inspect.Spec.TaskTemplate.ForceUpdate + 1,
|
||||
},
|
||||
});
|
||||
} catch (error) {
|
||||
console.log("error", error);
|
||||
|
||||
Reference in New Issue
Block a user