From 88b43d77f0f58b8e11e1cdfd80c7d2982df61cc2 Mon Sep 17 00:00:00 2001 From: Furox Date: Fri, 4 Sep 2026 20:18:52 +0300 Subject: [PATCH] feat: expose Google Drive OneDrive FTP and SFTP destinations --- .../settings/destination/constants.ts | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/apps/dokploy/components/dashboard/settings/destination/constants.ts b/apps/dokploy/components/dashboard/settings/destination/constants.ts index f43e47d1a..e3577302b 100644 --- a/apps/dokploy/components/dashboard/settings/destination/constants.ts +++ b/apps/dokploy/components/dashboard/settings/destination/constants.ts @@ -1,3 +1,5 @@ +import { RCLONE_DESTINATION_PROVIDERS } from "@dokploy/server/db/validations/destination"; + export const S3_PROVIDERS: Array<{ key: string; name: string; @@ -131,3 +133,30 @@ export const S3_PROVIDERS: Array<{ name: "Any other S3 compatible provider", }, ]; + +export const DESTINATION_PROVIDERS: Array<{ + key: string; + name: string; +}> = [ + { + key: RCLONE_DESTINATION_PROVIDERS.GOOGLE_DRIVE, + name: "Google Drive (configured rclone remote)", + }, + { + key: RCLONE_DESTINATION_PROVIDERS.ONEDRIVE, + name: "Microsoft OneDrive (configured rclone remote)", + }, + { + key: RCLONE_DESTINATION_PROVIDERS.SFTP, + name: "SFTP", + }, + { + key: RCLONE_DESTINATION_PROVIDERS.FTP, + name: "FTP", + }, + { + key: RCLONE_DESTINATION_PROVIDERS.REMOTE, + name: "Other configured rclone remote", + }, + ...S3_PROVIDERS, +];