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

View File

@@ -18,10 +18,20 @@ jitsi/
public/politictalk/
branding.json
pgLogo.svg
pg_bg.png
local/
README.md
custom-config.js
custom-interface_config.js
docker-compose.override.yml
nginx/
politictalk.parallelglobe.io.conf
scripts/
deploy-vps.sh
local-jitsi-setup.sh
local-jitsi-start.sh
local-jitsi-stop.sh
local-jitsi-sync.sh
templates/
```
@@ -38,6 +48,39 @@ jitsi/
- E2EE support is enabled in the Jitsi config.
- The logo and dynamic branding point to PoliticTalk public assets.
## Local Docker Testing
Local Jitsi testing uses the official Docker Jitsi release. The downloaded Docker files and generated runtime config are ignored by Git, while PoliticTalk overrides stay tracked in this repo.
First install and start Docker Desktop. Then:
```bash
cd /Users/amardeep/work/pg/jitsi
./scripts/local-jitsi-setup.sh
./scripts/local-jitsi-start.sh
```
Open:
```text
https://localhost:8443/pt-local-test
```
The local browser may show a self-signed certificate warning. That is expected.
When editing local override files or assets:
```bash
./scripts/local-jitsi-sync.sh
./scripts/local-jitsi-restart-web.sh
```
To stop local Jitsi:
```bash
./scripts/local-jitsi-stop.sh
```
## VPS Paths
The deploy script copies local files into these VPS paths: