diff --git a/Dockerfile b/Dockerfile index 1e104eeb..98ed9851 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,7 +56,7 @@ RUN curl -sSL https://nixpacks.com/install.sh -o install.sh \ && pnpm install -g tsx # Install Railpack -ARG RAILPACK_VERSION=0.0.37 +ARG RAILPACK_VERSION=0.0.64 RUN curl -sSL https://railpack.com/install.sh | bash # Install buildpacks diff --git a/apps/dokploy/components/dashboard/application/build/show.tsx b/apps/dokploy/components/dashboard/application/build/show.tsx index 16a45225..9535a318 100644 --- a/apps/dokploy/components/dashboard/application/build/show.tsx +++ b/apps/dokploy/components/dashboard/application/build/show.tsx @@ -1,3 +1,4 @@ +import { AlertBlock } from "@/components/shared/alert-block"; import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; @@ -200,6 +201,22 @@ export const ShowBuildChooseForm = ({ applicationId }: Props) => {
+ + Builders can consume significant memory and CPU resources + (recommended: 4+ GB RAM and 2+ CPU cores). For production + environments, please review our{" "} + + Production Guide + {" "} + for best practices and optimization recommendations. Builders are + suitable for development and prototyping purposes when you have + sufficient resources available. + ` if command_exists railpack; then echo "Railpack already installed ✅" else - export RAILPACK_VERSION=0.0.37 + export RAILPACK_VERSION=0.0.64 bash -c "$(curl -fsSL https://railpack.com/install.sh)" echo "Railpack version $RAILPACK_VERSION installed ✅" fi diff --git a/packages/server/src/utils/backups/utils.ts b/packages/server/src/utils/backups/utils.ts index 0d4471f6..4f799a40 100644 --- a/packages/server/src/utils/backups/utils.ts +++ b/packages/server/src/utils/backups/utils.ts @@ -159,7 +159,10 @@ export const generateBackupCommand = (backup: BackupSchedule) => { case "mysql": { const mysql = backup.mysql; if (backupType === "database" && mysql) { - return getMysqlBackupCommand(backup.database, mysql.databasePassword); + return getMysqlBackupCommand( + backup.database, + mysql.databaseRootPassword, + ); } if (backupType === "compose" && backup.metadata?.mysql) { return getMysqlBackupCommand( diff --git a/packages/server/src/utils/builders/docker-file.ts b/packages/server/src/utils/builders/docker-file.ts index 150faa5e..f94247ac 100644 --- a/packages/server/src/utils/builders/docker-file.ts +++ b/packages/server/src/utils/builders/docker-file.ts @@ -109,7 +109,7 @@ export const getDockerCommand = ( } for (const arg of args) { - commandArgs.push("--build-arg", arg); + commandArgs.push("--build-arg", `'${arg}'`); } /* diff --git a/packages/server/src/utils/builders/railpack.ts b/packages/server/src/utils/builders/railpack.ts index 55fd4049..481dc0fa 100644 --- a/packages/server/src/utils/builders/railpack.ts +++ b/packages/server/src/utils/builders/railpack.ts @@ -72,7 +72,7 @@ export const buildRailpack = async ( ] : []), "--build-arg", - "BUILDKIT_SYNTAX=ghcr.io/railwayapp/railpack-frontend:v0.0.55", + "BUILDKIT_SYNTAX=ghcr.io/railwayapp/railpack-frontend:v0.0.64", "-f", `${buildAppDirectory}/railpack-plan.json`, "--output", @@ -152,7 +152,7 @@ export const getRailpackCommand = ( ] : []), "--build-arg", - "BUILDKIT_SYNTAX=ghcr.io/railwayapp/railpack-frontend:v0.0.55", + "BUILDKIT_SYNTAX=ghcr.io/railwayapp/railpack-frontend:v0.0.64", "-f", `${buildAppDirectory}/railpack-plan.json`, "--output",