Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ export const ShowDestinations = () => {
<CardHeader className="">
<CardTitle className="text-xl flex flex-row gap-2">
<Database className="size-6 text-muted-foreground self-center" />
S3 Destinations
Backup Destinations
</CardTitle>
<CardDescription>
Add your providers like AWS S3, Cloudflare R2, Wasabi,
DigitalOcean Spaces etc.
Add your backup destinations: S3 compatible storage (AWS,
Cloudflare R2, Wasabi, etc.), SFTP, or FTP servers.
</CardDescription>
</CardHeader>
<CardContent className="space-y-2 py-8 border-t">
Expand Down Expand Up @@ -60,6 +60,11 @@ export const ShowDestinations = () => {
<div className="flex flex-col gap-1">
<span className="text-sm">
{index + 1}. {destination.name}
<span className="text-xs bg-muted px-1.5 py-0.5 rounded ml-2 font-medium">
{(
destination.destinationType || "s3"
).toUpperCase()}
</span>
</span>
<span className="text-xs text-muted-foreground">
Created at:{" "}
Expand Down
6 changes: 6 additions & 0 deletions apps/dokploy/drizzle/0150_add_destination_types.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ALTER TABLE "destination" ADD COLUMN "destinationType" text DEFAULT 's3' NOT NULL;--> statement-breakpoint
ALTER TABLE "destination" ADD COLUMN "host" text;--> statement-breakpoint
ALTER TABLE "destination" ADD COLUMN "port" integer;--> statement-breakpoint
ALTER TABLE "destination" ADD COLUMN "username" text;--> statement-breakpoint
ALTER TABLE "destination" ADD COLUMN "password" text;--> statement-breakpoint
ALTER TABLE "destination" ADD COLUMN "basePath" text;
Loading