docs: update development server ports and enhance Railpack documentation

- Changed development server ports for both the docs and website applications to avoid conflicts.
- Expanded the Railpack documentation to include a section on specifying the Railpack version, detailing how to pin, upgrade, or maintain stable versions for consistent builds.
- Added a callout for invalid version specifications to improve user guidance.
This commit is contained in:
Mauricio Siu
2025-12-07 20:25:46 -06:00
parent 33777b77c1
commit a4bca9b709
3 changed files with 26 additions and 3 deletions

View File

@@ -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.
<Callout type="warn">
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).
</Callout>
You can read more about Railpack [here](https://railpack.com/config/environment-variables).
Railpack supports Nodejs, Python, Go, PHP, Go, StaticFile, Shell Scripts.

View File

@@ -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",

View File

@@ -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",