mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: move STUN servers into their own regions (#9030)
This commit is contained in:
Generated
+7
-29
@@ -129,28 +129,6 @@ URL to fetch a DERP mapping on startup. See: https://tailscale.com/kb/1118/custo
|
||||
|
||||
Whether to enable or disable the embedded DERP relay server.
|
||||
|
||||
### --derp-server-region-code
|
||||
|
||||
| | |
|
||||
| ----------- | ------------------------------------------- |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_DERP_SERVER_REGION_CODE</code> |
|
||||
| YAML | <code>networking.derp.regionCode</code> |
|
||||
| Default | <code>coder</code> |
|
||||
|
||||
Region code to use for the embedded DERP server.
|
||||
|
||||
### --derp-server-region-id
|
||||
|
||||
| | |
|
||||
| ----------- | ----------------------------------------- |
|
||||
| Type | <code>int</code> |
|
||||
| Environment | <code>$CODER_DERP_SERVER_REGION_ID</code> |
|
||||
| YAML | <code>networking.derp.regionID</code> |
|
||||
| Default | <code>999</code> |
|
||||
|
||||
Region ID to use for the embedded DERP server.
|
||||
|
||||
### --derp-server-region-name
|
||||
|
||||
| | |
|
||||
@@ -174,14 +152,14 @@ An HTTP URL that is accessible by other replicas to relay DERP traffic. Required
|
||||
|
||||
### --derp-server-stun-addresses
|
||||
|
||||
| | |
|
||||
| ----------- | ---------------------------------------------- |
|
||||
| Type | <code>string-array</code> |
|
||||
| Environment | <code>$CODER_DERP_SERVER_STUN_ADDRESSES</code> |
|
||||
| YAML | <code>networking.derp.stunAddresses</code> |
|
||||
| Default | <code>stun.l.google.com:19302</code> |
|
||||
| | |
|
||||
| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| Type | <code>string-array</code> |
|
||||
| Environment | <code>$CODER_DERP_SERVER_STUN_ADDRESSES</code> |
|
||||
| YAML | <code>networking.derp.stunAddresses</code> |
|
||||
| Default | <code>stun.l.google.com:19302,stun1.l.google.com:19302,stun2.l.google.com:19302,stun3.l.google.com:19302,stun4.l.google.com:19302</code> |
|
||||
|
||||
Addresses for STUN servers to establish P2P connections. Use special value 'disable' to turn off STUN.
|
||||
Addresses for STUN servers to establish P2P connections. It's recommended to have at least two STUN servers to give users the best chance of connecting P2P to workspaces. Each STUN server will get it's own DERP region, with region IDs starting at `--derp-server-region-id + 1`. Use special value 'disable' to turn off STUN completely.
|
||||
|
||||
### --default-quiet-hours-schedule
|
||||
|
||||
|
||||
Reference in New Issue
Block a user