roomler
1.0.0
roomler .Live - 使用 WebRTC(Janus Gateway)的实时视频会议和协作工具
它就像 Crack 上的 Slack 和 Steroids 上的 Microsoft Teams。所有这些都是完全免费和开源的。
多方通话 | 强大的聊天功能 | 井井有条的房间 |
---|---|---|
|
|
|
roomler要求:
在我们开始roomler之前(在开发和生产环境中)
除了默认的host
Docker 网络之外,我们还需要创建两个额外的桥接网络:
docker network create frontend
(由容器roomler
、 nginx
使用)docker network create backend
(由容器roomler
、 mongo
、 redis
使用)host
网络上, janus
和coturn
将被附加在运行roomler之前,您需要设置所有必需的(甚至可选的,如果需要)环境变量
# install dependencies
$ npx lerna bootstrap
# Start API server (localhost:3001)
$ yarn run dev:api
# Start UI server (localhost:3000)
$ yarn run dev:ui
# install dependencies
$ npx lerna bootstrap --scope roomler .ui
# build for production and launch server
$ yarn run build
$ yarn run start
.scripts/build.sh
.scripts/release.sh
docker run -d --name roomler
--hostname roomler
--network backend
--restart always
-v /path_to_your_uploads_folder:/ roomler /packages/ui/static/uploads
-e API_URL=https://roomler.live
-p 8082:3000
-e DB_CONN=YOUR_DB_CONN
-e WS_SCALEOUT_ENABLED=true
-e WS_SCALEOUT_HOST=redis
-e SENDGRID_API_KEY=YOUR_SEND_GRID_KEY
-e FACEBOOK_ID=YOUR_FACEBOOK_ID
-e FACEBOOK_SECRET=YOUR_FACEBOOK_SECRET
-e GOOGLE_ID=YOUR_GOOGLE_ID
-e GOOGLE_SECRET=YOUR_GOOGLE_SECRET
-e GITHUB_ID=YOUR_GITHUB_ID
-e GITHUB_SECRET=YOUR_GITHUB_SECRET
-e LINKEDIN_ID=YOUR_LINKEDIN_ID
-e LINKEDIN_SECRET=YOUR_LINKEDIN_SECRET
-e MICROSOFT_ID=YOUR_MICROSOFT_ID
-e MICROSOFT_SECRET=YOUR_MICROSOFT_SECRET
-e TURN_URL=YOUR_TURN_URL
-e TURN_USERNAME=YOUR_TURN_USERNAME
-e TURN_PASSWORD=YOUR_TURN_PASSWORD
-e GIPHY_API_KEY=YOUR_GIPHY_KEY
-e GOOGLE_ANALYTICS_ID=YOUR_GOOGLE_ANALYTICS_ID
-e SUPER_ADMIN_EMAILS= ' ["[email protected]"] '
-e WEB_PUSH_CONTACT= " mailto: [email protected] "
-e WEB_PUSH_PUBLISH_KEY=YOUR_VAPID_PUBLIC_KEY
-e WEB_PUSH_PRIVATE_KEY=YOUR_VAPID_PRIVATE_KEY
-e NUXT_TELEMETRY_DISABLED=1
gjovanov/ roomler
# attach roomler container to backend network
docker network connect backend roomler
docker-compose up
- 这将启动整个 docker 服务堆栈
# makes sure MongoDB is reachable based on /config/index.js (dbSettings)
$ yarn run test:api