feat:添加derp客户端验证可选

This commit is contained in:
okxlin 2023-12-15 22:07:55 +08:00
parent 957a20779f
commit b1a02a03f7
3 changed files with 9 additions and 1 deletions

View File

@ -3,3 +3,4 @@ PANEL_APP_PORT_HTTPS="40184"
PANEL_APP_PORT_STUN="3478"
DATA_PATH="./data"
DERP_DOMAIN="derper.your-domain.com"
CLIENTS_VERIFY_SWITCH="false"

View File

@ -30,3 +30,10 @@ additionalProperties:
labelZh: Derper服务器主机名
required: true
type: text
- default: "false"
edit: true
envKey: CLIENTS_VERIFY_SWITCH
labelEn: "Client verify (On: true, Off: false)"
labelZh: 客户端验证(开启:true关闭:false)
required: true
type: text

View File

@ -18,7 +18,7 @@ services:
- DERP_STUN=true
- DERP_STUN_PORT=${PANEL_APP_PORT_STUN}
- DERP_CERT_DIR=/app/certs
- DERP_VERIFY_CLIENTS=false
- DERP_VERIFY_CLIENTS=${CLIENTS_VERIFY_SWITCH}
image: fredliang/derper:latest
labels:
createdBy: "Apps"