mirror of
https://github.com/fredliang44/derper-docker.git
synced 2024-11-10 09:12:34 +08:00
fix: fix env docs, close #3
This commit is contained in:
parent
93e5965abe
commit
bf61e1bb23
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
# Setup
|
||||
|
||||
> required: set env `DERP_HOSTNAME` to your domain
|
||||
> required: set env `DERP_DOMAIN` to your domain
|
||||
|
||||
```bash
|
||||
docker run -e DERP_DOMAIN=derper.your-domain.com -p 80:80 -p 443:443 -p 3478:3478 fredliang/derper
|
||||
|
@ -12,7 +12,7 @@ docker run -e DERP_DOMAIN=derper.your-domain.com -p 80:80 -p 443:443 -p 3478:347
|
|||
|
||||
| env | required | description | default value |
|
||||
| ------------- | -------- | -------------------------------------------------------------- | ----------------- |
|
||||
| DERP_HOSTNAME | true | derper server hostname | your-hostname.com |
|
||||
| DERP_DOMAIN | true | derper server hostname | your-hostname.com |
|
||||
| DERP_CERT_DIR | false | directory to store LetsEncrypt certs(if addr's port is :443) | /app/certs |
|
||||
| DERP_CERT_MODE| false | mode for getting a cert. possible options: manual, letsencrypt | letsencrypt |
|
||||
| DERP_ADDR | false | listening server address | :443 |
|
||||
|
|
Loading…
Reference in a new issue