mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-06-16 12:45:14 +02:00
Allow SKIP_VERIFY in docker image
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
This commit is contained in:
parent
6c6ebb647a
commit
e32ede8717
|
@ -64,6 +64,7 @@ The running container can be configured through different environment variables:
|
||||||
- `GRPC_DNS_DISCOVERY`: Enable DNS discovery on hostnames of configured GRPC targets.
|
- `GRPC_DNS_DISCOVERY`: Enable DNS discovery on hostnames of configured GRPC targets.
|
||||||
- `GRPC_ETCD`: Set to `1` if etcd should be used to configure GRPC peers.
|
- `GRPC_ETCD`: Set to `1` if etcd should be used to configure GRPC peers.
|
||||||
- `GRPC_TARGET_PREFIX`: Key prefix of GRPC target entries.
|
- `GRPC_TARGET_PREFIX`: Key prefix of GRPC target entries.
|
||||||
|
- `SKIP_VERIFY`: Set to `true` to skip certificate validation of backends and proxy servers. This should only be enabled during development, e.g. to work with self-signed certificates.
|
||||||
|
|
||||||
Example with two backends:
|
Example with two backends:
|
||||||
|
|
||||||
|
|
|
@ -127,6 +127,10 @@ if [ ! -f "$CONFIG" ]; then
|
||||||
sed -i "s|#maxscreenbitrate =.*|maxscreenbitrate = $MAX_SCREEN_BITRATE|" "$CONFIG"
|
sed -i "s|#maxscreenbitrate =.*|maxscreenbitrate = $MAX_SCREEN_BITRATE|" "$CONFIG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -z "$SKIP_VERIFY" ]; then
|
||||||
|
sed -i "s|#skipverify =.*|skipverify = $SKIP_VERIFY|" "$CONFIG"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -z "$TURN_API_KEY" ]; then
|
if [ ! -z "$TURN_API_KEY" ]; then
|
||||||
sed -i "s|#apikey = the-api-key-for-the-rest-service|apikey = $TURN_API_KEY|" "$CONFIG"
|
sed -i "s|#apikey = the-api-key-for-the-rest-service|apikey = $TURN_API_KEY|" "$CONFIG"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue