mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-29 00:02:16 +00:00
feat: add logs for each application
This commit is contained in:
@@ -40,10 +40,15 @@ export const dockerRouter = createTRPCRouter({
|
||||
.union([z.literal("stack"), z.literal("docker-compose")])
|
||||
.optional(),
|
||||
appName: z.string().min(1),
|
||||
serverId: z.string().optional(),
|
||||
}),
|
||||
)
|
||||
.query(async ({ input }) => {
|
||||
return await getContainersByAppNameMatch(input.appName, input.appType);
|
||||
return await getContainersByAppNameMatch(
|
||||
input.appName,
|
||||
input.appType,
|
||||
input.serverId,
|
||||
);
|
||||
}),
|
||||
|
||||
getContainersByAppLabel: protectedProcedure
|
||||
|
||||
Reference in New Issue
Block a user