mirror of
https://github.com/okxlin/appstore.git
synced 2025-07-13 21:02:18 +08:00
feat:添加derp客户端验证可选
This commit is contained in:
parent
957a20779f
commit
b1a02a03f7
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user