Update README.md
This commit is contained in:
@@ -39,7 +39,9 @@ over WebSocket, so managed hosts need no inbound ports, no VPN and no public IP.
|
||||
One command. It asks what the host should be, then does the rest:
|
||||
|
||||
```sh
|
||||
curl -fsSL https://runix-releases.s3-alpha-web.astra-dev.online/install.sh | sudo sh
|
||||
curl -fsSL https://github.com/svesnav/Runix/releases/latest/download/install.sh -o install.sh
|
||||
chmod +x install.sh
|
||||
./install.sh
|
||||
```
|
||||
|
||||
```
|
||||
@@ -75,16 +77,19 @@ Every question is also a flag, so the same script works from Ansible or CI:
|
||||
|
||||
```sh
|
||||
# Single-host install, no questions asked
|
||||
curl -fsSL https://runix-releases.s3-alpha-web.astra-dev.online/install.sh | sudo sh -s -- \
|
||||
--role all-in-one --yes
|
||||
curl -fsSL https://github.com/svesnav/Runix/releases/latest/download/install.sh -o install.sh
|
||||
chmod +x install.sh
|
||||
./install.sh --role all-in-one --yes
|
||||
|
||||
# Agent joining an existing control plane
|
||||
curl -fsSL https://runix-releases.s3-alpha-web.astra-dev.online/install.sh | sudo sh -s -- \
|
||||
--role agent --url https://runix.example.com --token rnx_agt_...
|
||||
curl -fsSL https://github.com/svesnav/Runix/releases/latest/download/install.sh -o install.sh
|
||||
chmod +x install.sh
|
||||
./install.sh --role agent --url https://runix.example.com --token rnx_agt_...
|
||||
|
||||
# Behind a reverse proxy: listen on loopback only
|
||||
curl -fsSL https://runix-releases.s3-alpha-web.astra-dev.online/install.sh | sudo sh -s -- \
|
||||
--role server --bind 127.0.0.1 --public-url https://runix.example.com -y
|
||||
curl -fsSL https://github.com/svesnav/Runix/releases/latest/download/install.sh -o install.sh
|
||||
chmod +x install.sh
|
||||
./install.sh --role server --bind 127.0.0.1 --public-url https://runix.example.com -y
|
||||
```
|
||||
|
||||
`-y` takes the recommended default for anything you didn't pass. Values with no
|
||||
@@ -121,7 +126,9 @@ restarted, while your configuration — above all the JWT and encryption secrets
|
||||
— is preserved:
|
||||
|
||||
```sh
|
||||
curl -fsSL https://runix-releases.s3-alpha-web.astra-dev.online/install.sh | sudo sh -s -- -y
|
||||
curl -fsSL https://github.com/svesnav/Runix/releases/latest/download/install.sh -o install.sh
|
||||
chmod +x install.sh
|
||||
./install.sh -y
|
||||
```
|
||||
|
||||
Configuration files are edited a key at a time rather than rewritten, so
|
||||
|
||||
Reference in New Issue
Block a user