mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-07 06:55:23 +02:00
feat(multi-server): add actions to the server
This commit is contained in:
@@ -55,9 +55,10 @@ export const dockerRouter = createTRPCRouter({
|
||||
.input(
|
||||
z.object({
|
||||
appName: z.string().min(1),
|
||||
serverId: z.string().optional(),
|
||||
}),
|
||||
)
|
||||
.query(async ({ input }) => {
|
||||
return await getContainersByAppLabel(input.appName);
|
||||
return await getContainersByAppLabel(input.appName, input.serverId);
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user