diff --git a/apps/dokploy/components/dashboard/application/advanced/volumes/add-volumes.tsx b/apps/dokploy/components/dashboard/application/advanced/volumes/add-volumes.tsx index 718f98b72..639410bb4 100644 --- a/apps/dokploy/components/dashboard/application/advanced/volumes/add-volumes.tsx +++ b/apps/dokploy/components/dashboard/application/advanced/volumes/add-volumes.tsx @@ -1,3 +1,4 @@ +import { AlertBlock } from "@/components/shared/alert-block"; import { CodeEditor } from "@/components/shared/code-editor"; import { Button } from "@/components/ui/button"; import { @@ -169,6 +170,23 @@ export const AddVolumes = ({ onSubmit={form.handleSubmit(onSubmit)} className="grid w-full gap-8 " > + {type === "bind" && ( + +
+

+ Make sure the host path is a valid path and exists in the + host machine. +

+

+ Cluster Warning: If you're using cluster + features, bind mounts may cause deployment failures since + the path must exist on all worker/manager nodes. Consider + using external tools to distribute the folder across nodes + or use named volumes instead. +

+
+
+ )}