Update Apps
This commit is contained in:
@@ -1,28 +1,26 @@
|
||||
# Derper
|
||||
|
||||
[](https://hub.docker.com/r/fredliang/derper)
|
||||
[](https://hub.docker.com/r/fredliang/derper)
|
||||
[](https://hub.docker.com/r/fredliang/derper/tags)
|
||||
[](https://hub.docker.com/r/fredliang/derper) [](https://hub.docker.com/r/fredliang/derper) [](https://hub.docker.com/r/fredliang/derper/tags)
|
||||
|
||||
# Setup
|
||||
# 设置
|
||||
|
||||
> required: set env `DERP_DOMAIN` to your domain
|
||||
> required: 设置环境变量 `DERP_DOMAIN` 为您的域名
|
||||
|
||||
```bash
|
||||
docker run -e DERP_DOMAIN=derper.your-domain.com -p 80:80 -p 443:443 -p 3478:3478/udp fredliang/derper
|
||||
```
|
||||
|
||||
| env | required | description | default value |
|
||||
| ------------------- | -------- | ---------------------------------------------------------------------- | ----------------- |
|
||||
| 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 |
|
||||
| DERP_STUN | false | also run a STUN server | true |
|
||||
| DERP_STUN_PORT | false | The UDP port on which to serve STUN. | 3478 |
|
||||
| DERP_HTTP_PORT | false | The port on which to serve HTTP. Set to -1 to disable | 80 |
|
||||
| DERP_VERIFY_CLIENTS | false | verify clients to this DERP server through a local tailscaled instance | false |
|
||||
| env | required | 描述 | 默认值 |
|
||||
| --- | --- | --- | --- |
|
||||
| DERP\_DOMAIN | true | derper 服务器主机名 | your-hostname.com |
|
||||
| DERP\_CERT\_DIR | false | 存储 Let's Encrypt 证书的目录(如果地址的端口是:443) | /app/certs |
|
||||
| DERP\_CERT\_MODE | false | 获取证书的模式。可能的选项:手动、Let's Encrypt | Let's Encrypt |
|
||||
| DERP\_ADDR | false | 监听服务器地址 | :443 |
|
||||
| DERP\_STUN | false | 同时运行一个 STUN 服务器 | true |
|
||||
| DERP\_STUN\_PORT | false | 用于提供 STUN 服务的 UDP 端口。 | 3478 |
|
||||
| DERP\_HTTP\_PORT | false | HTTP 服务的端口。设置为-1 以禁用 | 80 |
|
||||
| DERP\_VERIFY\_CLIENTS | false | 通过本地 tailscaled 实例验证此 DERP 服务器上的客户端 | false |
|
||||
|
||||
# Usage
|
||||
# 使用方法
|
||||
|
||||
Fully DERP setup offical documentation: https://tailscale.com/kb/1118/custom-derp-servers/
|
||||
完全 DERP 设置官方文档:[https://tailscale.com/kb/1118/custom-derp-servers/](https://tailscale.com/kb/1118/custom-derp-servers/)
|
||||
Reference in New Issue
Block a user