update Docker instance readme

This commit is contained in:
Kenneth Bingham 2024-04-30 18:08:40 -04:00
parent 1783976cc5
commit 89aea54432
No known key found for this signature in database
GPG Key ID: 31709281860130B6
2 changed files with 5 additions and 12 deletions

View File

@ -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.

View 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