From bed5fd7c102b2bfa3e081c300fbe6af1e7b2e803 Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Tue, 13 Jun 2023 14:13:01 -0400 Subject: [PATCH] preen Docker share guides for 0.4 --- docker/compose/zrok-public-share/docker-compose.yml | 5 ----- ...rivate_share_guide.md => docker_private_share_guide.md} | 7 +++++++ ..._public_share_guide.md => docker_public_share_guide.md} | 7 +++++++ 3 files changed, 14 insertions(+), 5 deletions(-) rename docs/guides/docker-share/{v0.3_docker_private_share_guide.md => docker_private_share_guide.md} (94%) rename docs/guides/docker-share/{v0.3_docker_public_share_guide.md => docker_public_share_guide.md} (91%) diff --git a/docker/compose/zrok-public-share/docker-compose.yml b/docker/compose/zrok-public-share/docker-compose.yml index 7fb0e4d0..53f71017 100644 --- a/docker/compose/zrok-public-share/docker-compose.yml +++ b/docker/compose/zrok-public-share/docker-compose.yml @@ -41,11 +41,6 @@ services: environment: HOME: /mnt PFXLOG_NO_JSON: "true" - volumes: - - zrok_env:/mnt/.zrok - environment: - HOME: /mnt - PFXLOG_NO_JSON: "true" # demo servers you can share with zrok zrok-test: diff --git a/docs/guides/docker-share/v0.3_docker_private_share_guide.md b/docs/guides/docker-share/docker_private_share_guide.md similarity index 94% rename from docs/guides/docker-share/v0.3_docker_private_share_guide.md rename to docs/guides/docker-share/docker_private_share_guide.md index de3fa938..d3ef8323 100644 --- a/docs/guides/docker-share/v0.3_docker_private_share_guide.md +++ b/docs/guides/docker-share/docker_private_share_guide.md @@ -32,6 +32,13 @@ First, let's create the private share. ZROK_ENABLE_TOKEN="8UL9-48rN0ua" ``` +1. If you are self-hosting zrok then it's important to set your API endpoint URL too. If you're using the hosted zrok service then you can skip this step. + + ```bash + # file name ".env" + ZROK_API_ENDPOINT="https://zrok.example.com" + ``` + 1. Run your Compose project to start sharing the built-in demo web server: ```bash diff --git a/docs/guides/docker-share/v0.3_docker_public_share_guide.md b/docs/guides/docker-share/docker_public_share_guide.md similarity index 91% rename from docs/guides/docker-share/v0.3_docker_public_share_guide.md rename to docs/guides/docker-share/docker_public_share_guide.md index 3b3c320b..9bb6db0e 100644 --- a/docs/guides/docker-share/v0.3_docker_public_share_guide.md +++ b/docs/guides/docker-share/docker_public_share_guide.md @@ -27,6 +27,13 @@ To follow this guide you will need [Docker](https://docs.docker.com/get-docker/) ZROK_ENABLE_TOKEN="8UL9-48rN0ua" ``` +1. If you are self-hosting zrok then it's important to set your API endpoint URL too. If you're using the hosted zrok service then you can skip this step. + + ```bash + # file name ".env" + ZROK_API_ENDPOINT="https://zrok.example.com" + ``` + 1. Run your Compose project to start sharing the built-in demo web server: ```bash