jvb: fix version for autoscaler config
* jvb: fix version for autoscaler config
This commit is contained in:
committed by
GitHub
parent
4531615974
commit
4c009ad8c2
@@ -51,7 +51,7 @@ if [ -n "$AUTOSCALER_URL" ]; then
|
|||||||
if [ -f "$AUTOSCALER_SIDECAR_KEY_FILE" ]; then
|
if [ -f "$AUTOSCALER_SIDECAR_KEY_FILE" ]; then
|
||||||
echo "AUTOSCALER_URL found, enabling autoscaler sidecar"
|
echo "AUTOSCALER_URL found, enabling autoscaler sidecar"
|
||||||
|
|
||||||
export JVB_VERSION="dpkg -s jitsi-videobridge2 | grep Version | awk '{print $2}' | sed 's/..$//'"
|
export JVB_VERSION="$(dpkg -s jitsi-videobridge2 | grep Version | awk '{print $2}' | sed 's/..$//')"
|
||||||
|
|
||||||
[ -z "$AUTOSCALER_SIDECAR_PORT" ] && export AUTOSCALER_SIDECAR_PORT="6000"
|
[ -z "$AUTOSCALER_SIDECAR_PORT" ] && export AUTOSCALER_SIDECAR_PORT="6000"
|
||||||
[ -z "$JIBRI_WEBHOOK_SUBSCRIBERS" ] && export JIBRI_WEBHOOK_SUBSCRIBERS="http://localhost:$AUTOSCALER_SIDECAR_PORT/hook"
|
[ -z "$JIBRI_WEBHOOK_SUBSCRIBERS" ] && export JIBRI_WEBHOOK_SUBSCRIBERS="http://localhost:$AUTOSCALER_SIDECAR_PORT/hook"
|
||||||
|
|||||||
Reference in New Issue
Block a user