fix(rathole): enforce server-only mode; expose 2333; update docs
This commit is contained in:
@@ -6,7 +6,7 @@ Upstream project: https://github.com/rathole-org/rathole
|
||||
This Cloudron package runs Rathole and a lightweight HTTP health endpoint.
|
||||
|
||||
## Defaults
|
||||
- Mode: `server` (set `RATHOLE_MODE=client` to run client)
|
||||
- Mode: `server` (server-only package)
|
||||
- Config path: `/app/data/rathole.toml`
|
||||
- Health port: `3000` (Cloudron `httpPort`)
|
||||
|
||||
@@ -25,7 +25,7 @@ scripts/packaging-exec.sh "docker build -t rathole:dev CloudronPackages/Rathole"
|
||||
scripts/packaging-exec.sh "docker run --rm -p 3000:3000 -p 2333:2333 -v rathole-data:/app/data rathole:dev"
|
||||
```
|
||||
|
||||
Note: expose additional service ports as needed per your TOML.
|
||||
Note: expose additional service ports as needed per your TOML. Container exposes `2333` by default.
|
||||
|
||||
## Deploy to Cloudron
|
||||
Use Cloudron CLI from inside the packaging container:
|
||||
@@ -34,4 +34,3 @@ scripts/packaging-enter.sh
|
||||
cloudron login
|
||||
cloudron install --image rathole:dev
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user