Skip to content

Commit 2a6341c

Browse files
committed
Add jitsi-meet script
1 parent 77103dc commit 2a6341c

File tree

3 files changed

+144
-0
lines changed

3 files changed

+144
-0
lines changed

ct/jitsi-meet.sh

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#!/usr/bin/env bash
2+
source <(curl -s https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/build.func)
3+
# Copyright (c) 2021-2025 community-scripts ORG
4+
# Author: Slaviša Arežina (tremor021)
5+
# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE
6+
# Source: https://github.com/jitsi/jitsi-meet
7+
8+
APP="Rclone"
9+
var_tags="${var_tags:-os}"
10+
var_cpu="${var_cpu:-2}"
11+
var_ram="${var_ram:-4096}"
12+
var_disk="${var_disk:-20}"
13+
var_os="${var_os:-debian}"
14+
var_version="${var_version:-12}"
15+
var_unprivileged="${var_unprivileged:-1}"
16+
17+
header_info "$APP"
18+
variables
19+
color
20+
catch_errors
21+
22+
function update_script() {
23+
header_info
24+
check_container_storage
25+
check_container_resources
26+
if [[ ! -f /lib/systemd/system/jitsi-videobridge2.service ]]; then
27+
msg_error "No ${APP} Installation Found!"
28+
exit
29+
fi
30+
msg_info "Updating Jitsi-Meet LXC"
31+
$STD apt-get update
32+
$STD apt-get upgrade -y
33+
msg_ok "Updated Jitsi-Meet LXC"
34+
exit
35+
}
36+
37+
start
38+
build_container
39+
description
40+
41+
msg_ok "Completed Successfully!\n"
42+
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
43+
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
44+
echo -e "${TAB}${GATEWAY}${BGN}https://${IP}${CL}"

frontend/public/json/jitsi-meet.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"name": "jitsi-meet",
3+
"slug": "jitsi-meet",
4+
"categories": [
5+
18
6+
],
7+
"date_created": "2025-05-06",
8+
"type": "ct",
9+
"updateable": true,
10+
"privileged": false,
11+
"interface_port": 443,
12+
"documentation": "https://jitsi.github.io/handbook/docs/intro",
13+
"website": "https://jitsi.org/jitsi-meet/",
14+
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/jitsi-meet.webp",
15+
"config_path": "/etc/jitsi/meet/[your-hostname]-config.js",
16+
"description": "Go ahead, video chat with the whole team. In fact, invite everyone you know. Jitsi Meet is a fully encrypted, 100% open source video conferencing solution that you can use all day, every day, for free — with no account needed.",
17+
"install_methods": [
18+
{
19+
"type": "default",
20+
"script": "ct/jitsi-meet.sh",
21+
"resources": {
22+
"cpu": 2,
23+
"ram": 4096,
24+
"hdd": 20,
25+
"os": "debian",
26+
"version": "12"
27+
}
28+
}
29+
],
30+
"default_credentials": {
31+
"username": null,
32+
"password": null
33+
},
34+
"notes": []
35+
}

install/jitsi-meet-install.sh

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
#!/usr/bin/env bash
2+
3+
# Copyright (c) 2021-2025 community-scripts ORG
4+
# Author: Slaviša Arežina (tremor021)
5+
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
6+
# Source: https://github.com/jitsi/jitsi-meet
7+
8+
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
9+
color
10+
verb_ip6
11+
catch_errors
12+
setting_up_container
13+
network_check
14+
update_os
15+
16+
msg_info "Installing Dependencies"
17+
$STD apt-get install -y \
18+
apt-transport-https \
19+
lsb-release \
20+
debconf-utils
21+
msg_ok "Installed Dependencies"
22+
23+
msg_info "Setting up repositories"
24+
curl -fsSL https://prosody.im/files/prosody-debian-packages.key -o /etc/apt/keyrings/prosody-debian-packages.key
25+
echo "deb [signed-by=/etc/apt/keyrings/prosody-debian-packages.key] http://packages.prosody.im/debian $(lsb_release -sc) main" >/etc/apt/sources.list.d/prosody-debian-packages.list
26+
curl -fsSL https://download.jitsi.org/jitsi-key.gpg.key | gpg --dearmor -o /usr/share/keyrings/jitsi-keyring.gpg
27+
echo "deb [signed-by=/usr/share/keyrings/jitsi-keyring.gpg] https://download.jitsi.org stable/" >/etc/apt/sources.list.d/jitsi-stable.list
28+
$STD apt-get update
29+
msg_ok "Done setting up repositories"
30+
31+
msg_info "Installing jitsi-meet"
32+
IP=$(hostname -I | awk '{print $1}')
33+
PASS="$(openssl rand -base64 18 | cut -c1-13)"
34+
SECRET="$(openssl rand -base64 18 | cut -c1-13)"
35+
JVBSECRET="$(openssl rand -base64 18 | cut -c1-13)"
36+
echo "jicofo jicofo/jicofo-authpassword password $PASS" | debconf-set-selections
37+
echo "jitsi-meet-prosody jicofo/jicofo-authpassword password $PASS" | debconf-set-selections
38+
echo "jitsi-meet-prosody jitsi-meet-prosody/jvb-hostname string $IP" | debconf-set-selections
39+
echo "jitsi-meet-prosody jitsi-meet-prosody/turn-secret string $SECRET" | debconf-set-selections
40+
echo "jitsi-meet-turnserver jitsi-meet-turnserver/jvb-hostname string $IP" | debconf-set-selections
41+
echo "jitsi-meet-web-config jitsi-meet/cert-choice select Generate a new self-signed certificate" | debconf-set-selections
42+
echo "jitsi-meet-web-config jitsi-meet/cert-path-crt string '/var/lib/prosody/auth.$IP.crt'" | debconf-set-selections
43+
echo "jitsi-meet-web-config jitsi-meet/cert-path-key string '/var/lib/prosody/$IP.key'" | debconf-set-selections
44+
echo "jitsi-meet-web-config jitsi-meet/email string ''" | debconf-set-selections
45+
echo "jitsi-meet-web-config jitsi-meet/jaas-choice boolean false" | debconf-set-selections
46+
echo "jitsi-meet-web-config jitsi-meet/jvb-hostname string $IP" | debconf-set-selections
47+
echo "jicofo jitsi-videobridge/jvb-hostname string $IP" | debconf-set-selections
48+
echo "jitsi-meet-prosody jitsi-videobridge/jvb-hostname string $IP" | debconf-set-selections
49+
echo "jitsi-meet-turnserver jitsi-videobridge/jvb-hostname string $IP" | debconf-set-selections
50+
echo "jitsi-meet-web-config jitsi-videobridge/jvb-hostname string $IP" | debconf-set-selections
51+
echo "jitsi-videobridge2 jitsi-videobridge/jvb-hostname string $IP" | debconf-set-selections
52+
echo "jitsi-meet-prosody jitsi-videobridge/jvbsecret password $JVBSECRET" | debconf-set-selections
53+
echo "jitsi-videobridge2 jitsi-videobridge/jvbsecret password $JVBSECRET" | debconf-set-selections
54+
$STD apt-get install -y \
55+
lua5.2 \
56+
jitsi-meet
57+
msg_ok "Installed jitsi-meet"
58+
59+
motd_ssh
60+
customize
61+
62+
msg_info "Cleaning up"
63+
$STD apt-get -y autoremove
64+
$STD apt-get -y autoclean
65+
msg_ok "Cleaned"

0 commit comments

Comments
 (0)