diff --git a/apps/docs/content/docs/core/applications/build-type.mdx b/apps/docs/content/docs/core/applications/build-type.mdx index 41dcc43..a9f2fb0 100644 --- a/apps/docs/content/docs/core/applications/build-type.mdx +++ b/apps/docs/content/docs/core/applications/build-type.mdx @@ -56,7 +56,30 @@ Railpack exposes multiple Build Variables, you can define them in the `Environme | `RAILPACK_BUILD_APT_PACKAGES` | Install additional Apt packages during build | | `RAILPACK_DEPLOY_APT_PACKAGES` | Install additional Apt packages in the final image | -you can read more about Railpack [here](https://railpack.com/config/environment-variables). +### Specifying Railpack Version + +Dokploy provides a **Railpack Version** field in the application settings where you can specify a specific version of Railpack to use. This allows you to: + +- **Pin to a specific version**: Ensure consistent builds across deployments +- **Use a newer version**: Test or use features from a specific release +- **Stay on a stable version**: Avoid potential issues from automatic updates + +**How to use:** + +1. Navigate to your application settings +2. Find the **Railpack Version** field +3. Enter the version you want to use (e.g., `0.15.1`) +4. Dokploy will automatically download and use the specified version for your builds + +**Example:** + +To use Railpack version `0.15.1`, simply enter `0.15.1` in the Railpack Version field. + + + If you specify an invalid version, Dokploy will show an error. Make sure to use a valid version from the [Railpack releases page](https://github.com/railwayapp/railpack/releases). + + +You can read more about Railpack [here](https://railpack.com/config/environment-variables). Railpack supports Nodejs, Python, Go, PHP, Go, StaticFile, Shell Scripts. diff --git a/apps/docs/package.json b/apps/docs/package.json index 649176c..c9012ca 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "build": "next build", - "dev": "next dev", + "dev": "next dev --port 3002", "start": "next start", "types:check": "fumadocs-mdx && tsc --noEmit", "postinstall": "fumadocs-mdx", diff --git a/apps/website/package.json b/apps/website/package.json index 11c2184..8832ea9 100644 --- a/apps/website/package.json +++ b/apps/website/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "private": true, "scripts": { - "dev": "next dev", + "dev": "next dev --port 3001", "build": "next build", "start": "next start", "lint": "next lint",