mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-01 03:55:22 +02:00
Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f575317906 | ||
|
|
e6028e73ac | ||
|
|
bcbed151e8 | ||
|
|
c708f7ba62 | ||
|
|
95a538f261 | ||
|
|
f854457d69 | ||
|
|
cd998c37f1 | ||
|
|
d46a61098b | ||
|
|
8f14d854a0 | ||
|
|
388399b370 |
@@ -56,7 +56,7 @@ RUN curl -sSL https://nixpacks.com/install.sh -o install.sh \
|
|||||||
&& pnpm install -g tsx
|
&& pnpm install -g tsx
|
||||||
|
|
||||||
# Install Railpack
|
# Install Railpack
|
||||||
ARG RAILPACK_VERSION=0.0.37
|
ARG RAILPACK_VERSION=0.0.64
|
||||||
RUN curl -sSL https://railpack.com/install.sh | bash
|
RUN curl -sSL https://railpack.com/install.sh | bash
|
||||||
|
|
||||||
# Install buildpacks
|
# Install buildpacks
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
import { AlertBlock } from "@/components/shared/alert-block";
|
||||||
import { Badge } from "@/components/ui/badge";
|
import { Badge } from "@/components/ui/badge";
|
||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
|
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
|
||||||
@@ -200,6 +201,22 @@ export const ShowBuildChooseForm = ({ applicationId }: Props) => {
|
|||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
<Form {...form}>
|
<Form {...form}>
|
||||||
|
<AlertBlock>
|
||||||
|
Builders can consume significant memory and CPU resources
|
||||||
|
(recommended: 4+ GB RAM and 2+ CPU cores). For production
|
||||||
|
environments, please review our{" "}
|
||||||
|
<a
|
||||||
|
href="https://docs.dokploy.com/docs/core/applications/going-production"
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
|
className="font-medium underline underline-offset-4"
|
||||||
|
>
|
||||||
|
Production Guide
|
||||||
|
</a>{" "}
|
||||||
|
for best practices and optimization recommendations. Builders are
|
||||||
|
suitable for development and prototyping purposes when you have
|
||||||
|
sufficient resources available.
|
||||||
|
</AlertBlock>
|
||||||
<form
|
<form
|
||||||
onSubmit={form.handleSubmit(onSubmit)}
|
onSubmit={form.handleSubmit(onSubmit)}
|
||||||
className="grid w-full gap-4 p-2"
|
className="grid w-full gap-4 p-2"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dokploy",
|
"name": "dokploy",
|
||||||
"version": "v0.22.2",
|
"version": "v0.22.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -587,7 +587,7 @@ const installRailpack = () => `
|
|||||||
if command_exists railpack; then
|
if command_exists railpack; then
|
||||||
echo "Railpack already installed ✅"
|
echo "Railpack already installed ✅"
|
||||||
else
|
else
|
||||||
export RAILPACK_VERSION=0.0.37
|
export RAILPACK_VERSION=0.0.64
|
||||||
bash -c "$(curl -fsSL https://railpack.com/install.sh)"
|
bash -c "$(curl -fsSL https://railpack.com/install.sh)"
|
||||||
echo "Railpack version $RAILPACK_VERSION installed ✅"
|
echo "Railpack version $RAILPACK_VERSION installed ✅"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -159,7 +159,10 @@ export const generateBackupCommand = (backup: BackupSchedule) => {
|
|||||||
case "mysql": {
|
case "mysql": {
|
||||||
const mysql = backup.mysql;
|
const mysql = backup.mysql;
|
||||||
if (backupType === "database" && mysql) {
|
if (backupType === "database" && mysql) {
|
||||||
return getMysqlBackupCommand(backup.database, mysql.databasePassword);
|
return getMysqlBackupCommand(
|
||||||
|
backup.database,
|
||||||
|
mysql.databaseRootPassword,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
if (backupType === "compose" && backup.metadata?.mysql) {
|
if (backupType === "compose" && backup.metadata?.mysql) {
|
||||||
return getMysqlBackupCommand(
|
return getMysqlBackupCommand(
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ export const getDockerCommand = (
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (const arg of args) {
|
for (const arg of args) {
|
||||||
commandArgs.push("--build-arg", arg);
|
commandArgs.push("--build-arg", `'${arg}'`);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ export const buildRailpack = async (
|
|||||||
]
|
]
|
||||||
: []),
|
: []),
|
||||||
"--build-arg",
|
"--build-arg",
|
||||||
"BUILDKIT_SYNTAX=ghcr.io/railwayapp/railpack-frontend:v0.0.55",
|
"BUILDKIT_SYNTAX=ghcr.io/railwayapp/railpack-frontend:v0.0.64",
|
||||||
"-f",
|
"-f",
|
||||||
`${buildAppDirectory}/railpack-plan.json`,
|
`${buildAppDirectory}/railpack-plan.json`,
|
||||||
"--output",
|
"--output",
|
||||||
@@ -152,7 +152,7 @@ export const getRailpackCommand = (
|
|||||||
]
|
]
|
||||||
: []),
|
: []),
|
||||||
"--build-arg",
|
"--build-arg",
|
||||||
"BUILDKIT_SYNTAX=ghcr.io/railwayapp/railpack-frontend:v0.0.55",
|
"BUILDKIT_SYNTAX=ghcr.io/railwayapp/railpack-frontend:v0.0.64",
|
||||||
"-f",
|
"-f",
|
||||||
`${buildAppDirectory}/railpack-plan.json`,
|
`${buildAppDirectory}/railpack-plan.json`,
|
||||||
"--output",
|
"--output",
|
||||||
|
|||||||
Reference in New Issue
Block a user