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

28
scripts/local-jitsi-start.sh Executable file
View File

@@ -0,0 +1,28 @@
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
STACK_DIR="$ROOT_DIR/local/docker-jitsi-meet"
if ! command -v docker >/dev/null 2>&1; then
echo "Docker is not installed or not available in PATH. Install Docker Desktop, start it, then rerun this script."
exit 1
fi
if ! docker compose version >/dev/null 2>&1; then
echo "Docker Compose v2 is not available. Install/update Docker Desktop, then rerun this script."
exit 1
fi
if [[ ! -d "$STACK_DIR" ]]; then
"$SCRIPT_DIR/local-jitsi-setup.sh"
fi
"$SCRIPT_DIR/local-jitsi-sync.sh"
cd "$STACK_DIR"
docker compose up -d
echo "Local PoliticTalk Jitsi is starting."
echo "Open: https://localhost:8443/pt-local-test"