mirror of
https://github.com/Dokploy/website.git
synced 2026-06-15 20:25:25 +02:00
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.
This commit is contained in:
@@ -292,3 +292,17 @@ To upgrade Dokploy manually, you can use the following command:
|
||||
curl -sSL https://dokploy.com/install.sh | sh -s update
|
||||
```
|
||||
|
||||
To use a specific version, you can use the following command:
|
||||
|
||||
```bash
|
||||
export DOKPLOY_VERSION=canary && curl -sSL https://dokploy.com/install.sh | sh
|
||||
export DOKPLOY_VERSION=feature && curl -sSL https://dokploy.com/install.sh | sh
|
||||
curl -sSL https://dokploy.com/install.sh | sh (defaults to latest)
|
||||
```
|
||||
|
||||
Alternatively, you can use `bash -s`:
|
||||
|
||||
```bash
|
||||
DOKPLOY_VERSION=canary bash -s < <(curl -sSL https://dokploy.com/install.sh)
|
||||
DOKPLOY_VERSION=feature bash -s < <(curl -sSL https://dokploy.com/install.sh)
|
||||
```
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Detect version from environment variable or default to latest
|
||||
# Usage: DOKPLOY_VERSION=canary bash install.sh
|
||||
# Usage: DOKPLOY_VERSION=feature bash install.sh
|
||||
# Usage: bash install.sh (defaults to latest)
|
||||
# Usage with curl (export first): export DOKPLOY_VERSION=canary && curl -sSL https://dokploy.com/install.sh | sh
|
||||
# Usage with curl (export first): export DOKPLOY_VERSION=feature && curl -sSL https://dokploy.com/install.sh | sh
|
||||
# Usage with curl (bash -s): DOKPLOY_VERSION=canary bash -s < <(curl -sSL https://dokploy.com/install.sh)
|
||||
# Usage with curl (default): curl -sSL https://dokploy.com/install.sh | sh (defaults to latest)
|
||||
# Usage with bash: DOKPLOY_VERSION=canary bash install.sh
|
||||
# Usage with bash: DOKPLOY_VERSION=feature bash install.sh
|
||||
# Usage with bash: bash install.sh (defaults to latest)
|
||||
detect_version() {
|
||||
local version="${DOKPLOY_VERSION:-latest}"
|
||||
echo "$version"
|
||||
|
||||
Reference in New Issue
Block a user