From 0465a71d869e67158307f946cc8d0a346d34f9ef Mon Sep 17 00:00:00 2001
From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
Date: Sat, 21 Sep 2024 23:49:00 -0600
Subject: [PATCH] feat(multi-server): enable docker terminal inside of
containers
---
.../dashboard/application/general/show.tsx | 3 -
.../dashboard/compose/general/actions.tsx | 5 +-
.../dashboard/docker/show/colums.tsx | 5 +-
.../mariadb/general/show-general-mariadb.tsx | 5 +-
.../mongo/general/show-general-mongo.tsx | 5 +-
.../mysql/general/show-general-mysql.tsx | 5 +-
.../general/show-general-postgres.tsx | 5 +-
.../redis/general/show-general-redis.tsx | 5 +-
.../server/wss/docker-container-terminal.ts | 158 ++++++------------
9 files changed, 80 insertions(+), 116 deletions(-)
diff --git a/apps/dokploy/components/dashboard/application/general/show.tsx b/apps/dokploy/components/dashboard/application/general/show.tsx
index de93309f..277ae1eb 100644
--- a/apps/dokploy/components/dashboard/application/general/show.tsx
+++ b/apps/dokploy/components/dashboard/application/general/show.tsx
@@ -1,6 +1,5 @@
import { ShowBuildChooseForm } from "@/components/dashboard/application/build/show";
import { ShowProviderForm } from "@/components/dashboard/application/general/generic/show";
-import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
import { Toggle } from "@/components/ui/toggle";
@@ -76,8 +75,6 @@ export const ShowGeneralApplication = ({ applicationId }: Props) => {
Open Terminal
-
- {/* {data?.server?.name || "No Server"} */}
diff --git a/apps/dokploy/components/dashboard/compose/general/actions.tsx b/apps/dokploy/components/dashboard/compose/general/actions.tsx
index 5e0d9547..21957a95 100644
--- a/apps/dokploy/components/dashboard/compose/general/actions.tsx
+++ b/apps/dokploy/components/dashboard/compose/general/actions.tsx
@@ -75,7 +75,10 @@ export const ComposeActions = ({ composeId }: Props) => {
)}
-
+