Skip to content

Commit f337dd7

Browse files
authored
Merge pull request #1847 from Dokploy/canary
🚀 Release v0.22.3
2 parents 5d5d95b + f575317 commit f337dd7

File tree

7 files changed

+27
-7
lines changed

7 files changed

+27
-7
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ RUN curl -sSL https://nixpacks.com/install.sh -o install.sh \
5656
&& pnpm install -g tsx
5757

5858
# Install Railpack
59-
ARG RAILPACK_VERSION=0.0.37
59+
ARG RAILPACK_VERSION=0.0.64
6060
RUN curl -sSL https://railpack.com/install.sh | bash
6161

6262
# Install buildpacks

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

+17
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"

apps/dokploy/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dokploy",
3-
"version": "v0.22.2",
3+
"version": "v0.22.3",
44
"private": true,
55
"license": "Apache-2.0",
66
"type": "module",

packages/server/src/setup/server-setup.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ const installRailpack = () => `
587587
if command_exists railpack; then
588588
echo "Railpack already installed ✅"
589589
else
590-
export RAILPACK_VERSION=0.0.37
590+
export RAILPACK_VERSION=0.0.64
591591
bash -c "$(curl -fsSL https://railpack.com/install.sh)"
592592
echo "Railpack version $RAILPACK_VERSION installed ✅"
593593
fi

packages/server/src/utils/backups/utils.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,10 @@ export const generateBackupCommand = (backup: BackupSchedule) => {
159159
case "mysql": {
160160
const mysql = backup.mysql;
161161
if (backupType === "database" && mysql) {
162-
return getMysqlBackupCommand(backup.database, mysql.databasePassword);
162+
return getMysqlBackupCommand(
163+
backup.database,
164+
mysql.databaseRootPassword,
165+
);
163166
}
164167
if (backupType === "compose" && backup.metadata?.mysql) {
165168
return getMysqlBackupCommand(

packages/server/src/utils/builders/docker-file.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export const getDockerCommand = (
109109
}
110110

111111
for (const arg of args) {
112-
commandArgs.push("--build-arg", arg);
112+
commandArgs.push("--build-arg", `'${arg}'`);
113113
}
114114

115115
/*

packages/server/src/utils/builders/railpack.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const buildRailpack = async (
7272
]
7373
: []),
7474
"--build-arg",
75-
"BUILDKIT_SYNTAX=ghcr.io/railwayapp/railpack-frontend:v0.0.55",
75+
"BUILDKIT_SYNTAX=ghcr.io/railwayapp/railpack-frontend:v0.0.64",
7676
"-f",
7777
`${buildAppDirectory}/railpack-plan.json`,
7878
"--output",
@@ -152,7 +152,7 @@ export const getRailpackCommand = (
152152
]
153153
: []),
154154
"--build-arg",
155-
"BUILDKIT_SYNTAX=ghcr.io/railwayapp/railpack-frontend:v0.0.55",
155+
"BUILDKIT_SYNTAX=ghcr.io/railwayapp/railpack-frontend:v0.0.64",
156156
"-f",
157157
`${buildAppDirectory}/railpack-plan.json`,
158158
"--output",

0 commit comments

Comments
 (0)