Skip to content

Commit 7f19669

Browse files
committed
docs: update manual installation instructions and usage examples
- Added commands for using specific Dokploy versions with curl and bash, enhancing clarity on installation options. - Updated the install.sh script comments to reflect new usage instructions for setting the DOKPLOY_VERSION environment variable.
1 parent 8cd50f2 commit 7f19669

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

apps/docs/content/docs/core/manual-installation.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,3 +292,17 @@ To upgrade Dokploy manually, you can use the following command:
292292
curl -sSL https://dokploy.com/install.sh | sh -s update
293293
```
294294

295+
To use a specific version, you can use the following command:
296+
297+
```bash
298+
export DOKPLOY_VERSION=canary && curl -sSL https://dokploy.com/install.sh | sh
299+
export DOKPLOY_VERSION=feature && curl -sSL https://dokploy.com/install.sh | sh
300+
curl -sSL https://dokploy.com/install.sh | sh (defaults to latest)
301+
```
302+
303+
Alternatively, you can use `bash -s`:
304+
305+
```bash
306+
DOKPLOY_VERSION=canary bash -s < <(curl -sSL https://dokploy.com/install.sh)
307+
DOKPLOY_VERSION=feature bash -s < <(curl -sSL https://dokploy.com/install.sh)
308+
```

apps/website/public/install.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
#!/bin/bash
22

33
# Detect version from environment variable or default to latest
4-
# Usage: DOKPLOY_VERSION=canary bash install.sh
5-
# Usage: DOKPLOY_VERSION=feature bash install.sh
6-
# Usage: bash install.sh (defaults to latest)
4+
# Usage with curl (export first): export DOKPLOY_VERSION=canary && curl -sSL https://dokploy.com/install.sh | sh
5+
# Usage with curl (export first): export DOKPLOY_VERSION=feature && curl -sSL https://dokploy.com/install.sh | sh
6+
# Usage with curl (bash -s): DOKPLOY_VERSION=canary bash -s < <(curl -sSL https://dokploy.com/install.sh)
7+
# Usage with curl (default): curl -sSL https://dokploy.com/install.sh | sh (defaults to latest)
8+
# Usage with bash: DOKPLOY_VERSION=canary bash install.sh
9+
# Usage with bash: DOKPLOY_VERSION=feature bash install.sh
10+
# Usage with bash: bash install.sh (defaults to latest)
711
detect_version() {
812
local version="${DOKPLOY_VERSION:-latest}"
913
echo "$version"

0 commit comments

Comments
 (0)