mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-28 15:52:16 +00:00
feat(docker): add support for standalone container log retrieval
This commit is contained in:
@@ -65,10 +65,15 @@ export const dockerRouter = createTRPCRouter({
|
||||
z.object({
|
||||
appName: z.string().min(1),
|
||||
serverId: z.string().optional(),
|
||||
type: z.enum(["standalone", "swarm"]),
|
||||
}),
|
||||
)
|
||||
.query(async ({ input }) => {
|
||||
return await getContainersByAppLabel(input.appName, input.serverId);
|
||||
return await getContainersByAppLabel(
|
||||
input.appName,
|
||||
input.type,
|
||||
input.serverId,
|
||||
);
|
||||
}),
|
||||
|
||||
getStackContainersByAppName: protectedProcedure
|
||||
|
||||
Reference in New Issue
Block a user