Add local Jitsi Docker staging setup

This commit is contained in:
2026-05-14 23:35:52 +05:30
parent e35fd60cc5
commit 8997f4804f
12 changed files with 407 additions and 0 deletions

21
scripts/local-jitsi-sync.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
LOCAL_DIR="$ROOT_DIR/local"
STACK_DIR="$LOCAL_DIR/docker-jitsi-meet"
CONFIG_DIR="$LOCAL_DIR/.jitsi-meet-cfg"
if [[ ! -d "$STACK_DIR" ]]; then
echo "Missing $STACK_DIR. Run ./scripts/local-jitsi-setup.sh first."
exit 1
fi
mkdir -p "$CONFIG_DIR"/{web,transcripts,prosody/config,prosody/prosody-plugins-custom,jicofo,jvb,jigasi,jibri}
cp "$LOCAL_DIR/custom-config.js" "$CONFIG_DIR/web/custom-config.js"
cp "$LOCAL_DIR/custom-interface_config.js" "$CONFIG_DIR/web/custom-interface_config.js"
cp "$LOCAL_DIR/docker-compose.override.yml" "$STACK_DIR/docker-compose.override.yml"
echo "Synced PoliticTalk local overrides into Docker Jitsi runtime."