mirror of
https://github.com/openziti/zrok.git
synced 2024-11-25 09:33:43 +01:00
preen Docker share guides for 0.4
This commit is contained in:
parent
0e76f75c6b
commit
bed5fd7c10
@ -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:
|
||||
|
@ -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
|
@ -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
|
Loading…
Reference in New Issue
Block a user