Skip to content

Commit f575317

Browse files
authored
Merge pull request #1848 from Dokploy/feat/add-builders-alert
feat: add alert block to ShowBuildChooseForm for resource usage guidance
2 parents bcbed15 + e6028e7 commit f575317

File tree

1 file changed

+17
-0
lines changed
  • apps/dokploy/components/dashboard/application/build

1 file changed

+17
-0
lines changed

apps/dokploy/components/dashboard/application/build/show.tsx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { AlertBlock } from "@/components/shared/alert-block";
12
import { Badge } from "@/components/ui/badge";
23
import { Button } from "@/components/ui/button";
34
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
@@ -200,6 +201,22 @@ export const ShowBuildChooseForm = ({ applicationId }: Props) => {
200201
</CardHeader>
201202
<CardContent>
202203
<Form {...form}>
204+
<AlertBlock>
205+
Builders can consume significant memory and CPU resources
206+
(recommended: 4+ GB RAM and 2+ CPU cores). For production
207+
environments, please review our{" "}
208+
<a
209+
href="https://docs.dokploy.com/docs/core/applications/going-production"
210+
target="_blank"
211+
rel="noreferrer"
212+
className="font-medium underline underline-offset-4"
213+
>
214+
Production Guide
215+
</a>{" "}
216+
for best practices and optimization recommendations. Builders are
217+
suitable for development and prototyping purposes when you have
218+
sufficient resources available.
219+
</AlertBlock>
203220
<form
204221
onSubmit={form.handleSubmit(onSubmit)}
205222
className="grid w-full gap-4 p-2"

0 commit comments

Comments
 (0)