mirror of
https://github.com/fredliang44/derper-docker.git
synced 2024-09-20 06:46:14 +08:00
feat: add DERP_VERIFY_CLIENT_URL
Signed-off-by: 117503445 <t117503445@gmail.com>
This commit is contained in:
parent
5c2d88f3b5
commit
d0b69bfe2e
|
@ -22,6 +22,7 @@ ENV DERP_STUN true
|
|||
ENV DERP_STUN_PORT 3478
|
||||
ENV DERP_HTTP_PORT 80
|
||||
ENV DERP_VERIFY_CLIENTS false
|
||||
ENV DERP_VERIFY_CLIENT_URL ""
|
||||
|
||||
COPY --from=builder /go/bin/derper .
|
||||
|
||||
|
@ -32,5 +33,6 @@ CMD /app/derper --hostname=$DERP_DOMAIN \
|
|||
--stun=$DERP_STUN \
|
||||
--stun-port=$DERP_STUN_PORT \
|
||||
--http-port=$DERP_HTTP_PORT \
|
||||
--verify-clients=$DERP_VERIFY_CLIENTS
|
||||
--verify-clients=$DERP_VERIFY_CLIENTS \
|
||||
--verify-client-url=$DERP_VERIFY_CLIENT_URL
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ docker run -e DERP_DOMAIN=derper.your-domain.com -p 80:80 -p 443:443 -p 3478:347
|
|||
| 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 |
|
||||
| DERP_VERIFY_CLIENT_URL | false | if non-empty, an admission controller URL for permitting client connections | "" |
|
||||
|
||||
# Usage
|
||||
|
||||
|
|
Loading…
Reference in a new issue