mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2026-03-14 14:35:44 +01:00
docker: Make proxy timeout configurable.
This commit is contained in:
parent
1ce202f987
commit
d6ce4adaa6
2 changed files with 4 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ The running container can be configured through different environment variables:
|
|||
- `USE_PROXY`: Set to `1` if proxy servers should be used as WebRTC backends.
|
||||
- `PROXY_TOKEN_ID`: Id of the token to use when connecting to proxy servers.
|
||||
- `PROXY_TOKEN_KEY`: Private key for the configured token id.
|
||||
- `PROXY_TIMEOUT`: Timeout in seconds for requests to the proxy server.
|
||||
- `PROXY_URLS`: Space-separated list of proxy URLs to connect to.
|
||||
- `PROXY_DNS_DISCOVERY`: Enable DNS discovery on hostnames of configured static URLs.
|
||||
- `PROXY_ETCD`: Set to `1` if etcd should be used to configure proxy connections.
|
||||
|
|
|
|||
|
|
@ -119,6 +119,9 @@ if [ ! -f "$CONFIG" ]; then
|
|||
if [ -n "$PROXY_TOKEN_KEY" ]; then
|
||||
sed -i "s|#token_key =.*|token_key = $PROXY_TOKEN_KEY|" "$CONFIG"
|
||||
fi
|
||||
if [ -n "$PROXY_TIMEOUT" ]; then
|
||||
sed -i "s|#proxytimeout =.*|proxytimeout = $PROXY_TIMEOUT|" "$CONFIG"
|
||||
fi
|
||||
|
||||
if [ -n "$PROXY_ETCD" ]; then
|
||||
if [ -z "$HAS_ETCD" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue