RockyLinux9.7 docker部署Jisti Meet

一、防火墙放行端口

bash 复制代码
setenforce 0
sed -i 's/^SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config

firewall-cmd --permanent --add-port=8000/tcp
firewall-cmd --permanent --add-port=8443/tcp
firewall-cmd --permanent --add-port=10000/udp
firewall-cmd --permanent --add-port=3478/udp
firewall-cmd --permanent --add-port=5349/tcp
firewall-cmd --reload
firewall-cmd --list-ports

二、安装 Docker & Compose

bash 复制代码
dnf install -y dnf-plugins-core
dnf config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
dnf install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin

systemctl enable docker
systemctl start docker

配置docker镜像加速器

bash 复制代码
# 创建 docker 配置目录
mkdir -p /etc/docker

# 写入镜像加速器配置
cat > /etc/docker/daemon.json << EOF
{
  "registry-mirrors": ["https://docker.1ms.run"]
}
EOF

# 重新加载配置
systemctl daemon-reload

# 重启 docker
systemctl restart docker

验证是否生效

bash 复制代码
docker info

拉到最下面,如果看到 Registry Mirrors 下面显示这几个地址,就说明配置成功

三、拉取官方代码

1.安装git(非必须)

bash 复制代码
dnf install -y git

2.拉取官方代码

bash 复制代码
mkdir -p /opt/jitsi
cd /opt/jitsi
git clone https://github.com/jitsi/docker-jitsi-meet.git
cd docker-jitsi-meet
cp env.example .env

四、配置.env

bash 复制代码
CONFIG=~/.jitsi-me-cfg
# 域名配置
DOMAIN=cn.123211100000.xyz
PUBLIC_URL=https://meet.123211100000.xyz

# 公网服务器IP
DOCKER_HOST_ADDRESS=120.24.188.51

# 端口使用标准80/443,也可用8000/8443
HTTP_PORT=80
HTTPS_PORT=443

# 时区
TZ=Asia/Shanghai

# 自动申请Let's Encrypt免费SSL证书(公网域名必备)
ENABLE_LETSENCRYPT=0
LETSENCRYPT_EMAIL=admin@cn.123211100000.xyz

# 开启自有证书,不用自动签发
USE_OWN_CERTIFICATE=1

# 证书路径
SSL_CERT=/root/ssl/fullchain.pem
SSL_KEY=/root/ssl/privkey.pem


# 访客模式、权限配置
ENABLE_GUESTS=1
AUTH_TYPE=internal

# 资源优化 4核16G 专属参数
JVB_MEMORY_LIMIT=8G
JICOFO_MAX_PARTICIPANTS=100
JVB_MAX_BITRATE=2048

# 密码留空,用脚本自动生成
JICOFO_SECRET=
JVB_SECRET=
PROSODY_PASSWORD=

# 关闭无用的额外服务
ENABLE_JIGASI=0
ENABLE_JIBRI=0

五、生成密码

bash 复制代码
./gen-passwords.sh

六、拉取 Jitsi 镜像

bash 复制代码
docker compose pull

七、启动

bash 复制代码
docker compose up -d
相关推荐
wljy11 天前
二、进制状态转换
linux·运维·服务器·c语言·c++
week@eight1 天前
Linux - Doris
linux·运维·数据库·mysql
tellmewhoisi1 天前
项目部署docker(指令解析和docker-compose基础指令)
docker·容器
平行云1 天前
实时云渲染预启动技术解析:UE数字孪生应用的延迟优化机制(二)
linux·unity·ue5·webgl·实时云渲染·云桌面·像素流
dinl_vin1 天前
FastAPI 系列 ·(十二):生产部署——Docker + 配置管理(系列完结)
docker·容器·fastapi
看到代码头都是大的1 天前
CentOS环境下手动升级openssl、openssh
linux·运维·centos
浮生若城1 天前
Linux——Ext系列文件系统
linux·运维·服务器
枳实-叶1 天前
【Linux驱动开发】第16天:按键中断完整实战
linux·运维·驱动开发
杨云龙UP1 天前
Oracle Recycle Bin 回收站详解:DROP TABLE 后还能找回吗?
linux·运维·数据库·sql·mysql·oracle
蠢货爱好者1 天前
Docker基础操作
运维·docker·容器