diff --git a/.github/sponsors/agentdock.png b/.github/sponsors/agentdock.png new file mode 100644 index 000000000..bd76dc171 Binary files /dev/null and b/.github/sponsors/agentdock.png differ diff --git a/README.md b/README.md index 9246cf556..cdadce19f 100644 --- a/README.md +++ b/README.md @@ -80,8 +80,15 @@ For detailed documentation, visit [docs.dokploy.com](https://docs.dokploy.com). ### Premium Supporters 🥇 -
-Supafort.com +
+ + Supafort.com + + + + agentdock.ai + +
diff --git a/apps/dokploy/package.json b/apps/dokploy/package.json index d66a3b56f..5ae974a76 100644 --- a/apps/dokploy/package.json +++ b/apps/dokploy/package.json @@ -1,6 +1,6 @@ { "name": "dokploy", - "version": "v0.22.0", + "version": "v0.22.1", "private": true, "license": "Apache-2.0", "type": "module", diff --git a/packages/server/src/utils/backups/compose.ts b/packages/server/src/utils/backups/compose.ts index 79cb69e8d..1e12cafaf 100644 --- a/packages/server/src/utils/backups/compose.ts +++ b/packages/server/src/utils/backups/compose.ts @@ -38,7 +38,9 @@ export const runComposeBackup = async ( if (compose.serverId) { await execAsyncRemote(compose.serverId, backupCommand); } else { - await execAsync(backupCommand); + await execAsync(backupCommand, { + shell: "/bin/bash", + }); } await sendDatabaseBackupNotifications({ diff --git a/packages/server/src/utils/backups/mariadb.ts b/packages/server/src/utils/backups/mariadb.ts index 6f71939ed..b998c0064 100644 --- a/packages/server/src/utils/backups/mariadb.ts +++ b/packages/server/src/utils/backups/mariadb.ts @@ -37,7 +37,9 @@ export const runMariadbBackup = async ( if (mariadb.serverId) { await execAsyncRemote(mariadb.serverId, backupCommand); } else { - await execAsync(backupCommand); + await execAsync(backupCommand, { + shell: "/bin/bash", + }); } await sendDatabaseBackupNotifications({ diff --git a/packages/server/src/utils/backups/mongo.ts b/packages/server/src/utils/backups/mongo.ts index 815439d58..6da79b6c6 100644 --- a/packages/server/src/utils/backups/mongo.ts +++ b/packages/server/src/utils/backups/mongo.ts @@ -35,7 +35,9 @@ export const runMongoBackup = async (mongo: Mongo, backup: BackupSchedule) => { if (mongo.serverId) { await execAsyncRemote(mongo.serverId, backupCommand); } else { - await execAsync(backupCommand); + await execAsync(backupCommand, { + shell: "/bin/bash", + }); } await sendDatabaseBackupNotifications({ diff --git a/packages/server/src/utils/backups/mysql.ts b/packages/server/src/utils/backups/mysql.ts index 80a248272..4799f47c1 100644 --- a/packages/server/src/utils/backups/mysql.ts +++ b/packages/server/src/utils/backups/mysql.ts @@ -37,7 +37,9 @@ export const runMySqlBackup = async (mysql: MySql, backup: BackupSchedule) => { if (mysql.serverId) { await execAsyncRemote(mysql.serverId, backupCommand); } else { - await execAsync(backupCommand); + await execAsync(backupCommand, { + shell: "/bin/bash", + }); } await sendDatabaseBackupNotifications({ applicationName: name, diff --git a/packages/server/src/utils/backups/postgres.ts b/packages/server/src/utils/backups/postgres.ts index 29974106a..c30d88616 100644 --- a/packages/server/src/utils/backups/postgres.ts +++ b/packages/server/src/utils/backups/postgres.ts @@ -39,7 +39,9 @@ export const runPostgresBackup = async ( if (postgres.serverId) { await execAsyncRemote(postgres.serverId, backupCommand); } else { - await execAsync(backupCommand); + await execAsync(backupCommand, { + shell: "/bin/bash", + }); } await sendDatabaseBackupNotifications({