mirror of
https://github.com/openziti/zrok.git
synced 2025-06-26 04:31:30 +02:00
preen Docker share guides for 0.4
This commit is contained in:
parent
0e76f75c6b
commit
bed5fd7c10
@ -41,11 +41,6 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
HOME: /mnt
|
HOME: /mnt
|
||||||
PFXLOG_NO_JSON: "true"
|
PFXLOG_NO_JSON: "true"
|
||||||
volumes:
|
|
||||||
- zrok_env:/mnt/.zrok
|
|
||||||
environment:
|
|
||||||
HOME: /mnt
|
|
||||||
PFXLOG_NO_JSON: "true"
|
|
||||||
|
|
||||||
# demo servers you can share with zrok
|
# demo servers you can share with zrok
|
||||||
zrok-test:
|
zrok-test:
|
||||||
|
@ -32,6 +32,13 @@ First, let's create the private share.
|
|||||||
ZROK_ENABLE_TOKEN="8UL9-48rN0ua"
|
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:
|
1. Run your Compose project to start sharing the built-in demo web server:
|
||||||
|
|
||||||
```bash
|
```bash
|
@ -27,6 +27,13 @@ To follow this guide you will need [Docker](https://docs.docker.com/get-docker/)
|
|||||||
ZROK_ENABLE_TOKEN="8UL9-48rN0ua"
|
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:
|
1. Run your Compose project to start sharing the built-in demo web server:
|
||||||
|
|
||||||
```bash
|
```bash
|
Loading…
x
Reference in New Issue
Block a user