mirror of
https://github.com/openziti/zrok.git
synced 2025-02-01 19:10:05 +01:00
update Docker instance readme
This commit is contained in:
parent
1783976cc5
commit
89aea54432
@ -14,27 +14,21 @@ The quickstart makes these assumptions about your global DNS configuration.
|
|||||||
|
|
||||||
Create a working directory on your Docker host and save these Docker Compose project files. A OpenZiti network is provided by the "quickstart" container and is managed exclusively by zrok.
|
Create a working directory on your Docker host and save these Docker Compose project files. A OpenZiti network is provided by the "quickstart" container and is managed exclusively by zrok.
|
||||||
|
|
||||||
#### Shortcut option
|
#### Shortcut Option
|
||||||
|
|
||||||
1. Run this script to download the files.
|
1. Run this script to download the files in the current directory.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl https://get.openziti.io/zrok-docker/fetch.bash | bash
|
curl https://get.openziti.io/zrok-docker/fetch.bash | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
Optionally, customize the install path instead of using the current directory.
|
Or, specify the Compose project directory.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl https://get.openziti.io/zrok-docker/fetch.bash | bash -s /path/to/install
|
curl https://get.openziti.io/zrok-docker/fetch.bash | bash -s /path/to/compose/project/dir
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Do it Yourself
|
#### Manual Option
|
||||||
|
|
||||||
1. Fetch the ziti quickstart Compose file.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
wget https://get.openziti.io/dock/all-in-one/compose.yml
|
|
||||||
```
|
|
||||||
|
|
||||||
1. Get the zrok repo ZIP file.
|
1. Get the zrok repo ZIP file.
|
||||||
|
|
||||||
|
@ -77,7 +77,6 @@ main() {
|
|||||||
echo "WARN: installing anyway in a few seconds...press Ctrl-C to abort" >&2
|
echo "WARN: installing anyway in a few seconds...press Ctrl-C to abort" >&2
|
||||||
sleep 9
|
sleep 9
|
||||||
}
|
}
|
||||||
fetchFile "${ZITI_QUICK_COMPOSE:-"https://get.openziti.io/dock/all-in-one/compose.yml"}" "compose.yml"
|
|
||||||
fetchFile "${ZROK_REPO_ZIP:-"https://github.com/openziti/zrok/archive/refs/heads/main.zip"}" "zrok.zip"
|
fetchFile "${ZROK_REPO_ZIP:-"https://github.com/openziti/zrok/archive/refs/heads/main.zip"}" "zrok.zip"
|
||||||
unzip -j -d . zrok.zip '*/docker/compose/zrok-instance/*'
|
unzip -j -d . zrok.zip '*/docker/compose/zrok-instance/*'
|
||||||
rm zrok.zip .gitignore fetch.bash
|
rm zrok.zip .gitignore fetch.bash
|
||||||
|
Loading…
Reference in New Issue
Block a user