Code Monkey home page Code Monkey logo

gjovanov / roomler Goto Github PK

View Code? Open in Web Editor NEW
284.0 284.0 82.0 65.69 MB

Roomler - Multi-party Video Conferencing & Team Collaboration Tool using WebRTC (Janus Gateway)

Home Page: https://roomler.live

License: GNU Affero General Public License v3.0

JavaScript 65.95% Vue 33.24% Dockerfile 0.11% Shell 0.36% Handlebars 0.33% Stylus 0.01% SCSS 0.01%
chat coturn docker fastify janus-gateway mongodb nginx nuxtjs redis video-conferencing vuejs webrtc

roomler's People

Contributors

abreualexandre avatar gjovanov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

roomler's Issues

How end to end setup the Coturn?

hey, good afternoon from here. Do you mind if explain to me how to set up the coturn in development and production mode? Why I always end "TURN server doesn't work" when I test it on the link you recommended for. Or, what I have to do so I got these env parameters :
TURN_URL=turn:your_coturn_url?transport=udp
TURN_USERNAME=your_coturn_username
TURN_PASSWORD=your_coturn_password

Thanks.

bootstrap

/roomler$ npx lerna bootstrap
Need to install the following packages:
[email protected]
Ok to proceed? (y) y

ERR! bootstrap The "bootstrap" command was removed by default in v7, and is no longer maintained.

Nginx change default port from 443 ?

Hey
I have been trying to get this up and running on a google cloud instance.
Using the docker-compose up command

Nginx is giving me some trouble. I get the following error.

Recreating 257a9250cd8e_roomler_nginx_1 ... error

ERROR: for 257a9250cd8e_roomler_nginx_1 Cannot start service nginx: driver failed programming external connectivity on endpoint roomler_nginx_1 (16205a8e8218c786ace78057489b1aca6636afe19e4cc0a2ec963da3fb6a60d5): Error starting userland proxy: listen tcp 127.0.0.1:443: bind: address already in use

ERROR: for nginx Cannot start service nginx: driver failed programming external connectivity on endpoint roomler_nginx_1 (16205a8e8218c786ace78057489b1aca6636afe19e4cc0a2ec963da3fb6a60d5): Error starting userland proxy: listen tcp 127.0.0.1:443: bind: address already in use
ERROR: Encountered errors while bringing up the project.

As you can see in the .env file i have defined ip1 and ip2 as 127.0.0.1

I have also checked that there is no process running on port 443 using netstat

Is there a specific way to change the port from 443 to others?

What should be the value of IP1 or IP2...

Moreover can you share on what platform you have hosted roomler.live ? I could adopt a similar infrastructure for I am looking to develop heavily ontop of this.

nginx error

docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused "rootfs_linux.go:58: mounting \"/your_path/nginx.conf\" to rootfs \"/var/lib/docker/overlay2/0f5b64727f6fc7169d6ae98b5ce33aefb788ed1d34ec200ee570ea63e06e30e3/merged\" at \"/var/lib/docker/overlay2/0f5b64727f6fc7169d6ae98b5ce33aefb788ed1d34ec200ee570ea63e06e30e3/merged/etc/nginx/nginx.conf\" caused \"not a directory\""": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.

Error response from daemon: container sharing network namespace with another container or host cannot be connected to any other network

UnhandledPromiseRejectionWarning: Error: ERR_AVVIO_PLUGIN_TIMEOUT: plugin did not start in time

@gjovanov Please take a look and let me know how i can fix it.
yarn run start
yarn run v1.22.18
$ yarn workspace roomler.ui start
$ if-env WS_SCALEOUT_ENABLED=true && npm run start:cluster || npm run start:single
npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1653957207696-0.022655867688454734/node but npm is using /root/.nvm/versions/node/v12.22.12/bin/node itself. Use the --scripts-prepend-node-path option to include the path for the node binary npm was executed with.

[email protected] start:single /opt/roomler/packages/ui
cross-env NODE_ENV=production node index.js

(node:399933) UnhandledPromiseRejectionWarning: Error: ERR_AVVIO_PLUGIN_TIMEOUT: plugin did not start in time: /opt/roomler/packages/api/plugins/mongoose/fastify-mongoose.js. You may have forgotten to call 'done' function or to resolve a Promise
at Timeout._onTimeout (/opt/roomler/node_modules/avvio/plugin.js:122:19)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
(node:399933) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:399933) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Done in 32.52s.

Specific questions about Roomler Setup.

Hi Goran

First, thanks for sharing this project. Its features are certainly very inspiring.
I have some doubts (not issues) that I couldn't solve them by reading the available documentation
So, I have specific questions that maybe you can comment on them (and I hope to help other people):

  1. nginx: the docker run command specify the "--net = host" param and that is incompatible to "docker network connect frontend nginx". How is this should work? Default bridge mode attaching the frontend network?
  2. nginx: Depeding on where you get the info (medium or github) you have two "conf.d" nginx conf files (roomler.live.conf and janus.roomler.live.conf). In practice, you can't have both running at the same time because they bind on the same port, do I have to run both?
  3. nginx: In the proxy_pass (janus.roomler.live.conf), shoud I replace "janus:8080" to the IP addr of the host (since Janus is running on host mode)? Also proxy_pass in roomler.live.conf points to "roomler:3000", should I do the same?
  4. roomler: can I skip the *_KEYS env vars to test only the local auth?
  5. I started the docker run on roomler but the syntax is different from medium and github Readme. On github there is a port mapping -p "8082:3000" but not in Medium. Can I start this container basically setting the API_URL, DB_CONN, WS_SCALEOUT_*? JANUS_URL is needed? Port mapping is needed?

I'm still trying to make this works, but until now I got "502 bad gateway" from NGINX after point the browser to https://mydomain.com.

The containers are like this:

[root@lab]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
474433614d9c gjovanov/nginx "nginx -g 'daemon of…" 30 seconds ago Up 11 seconds 80/tcp, 443/tcp nginx
778ca28ca971 gjovanov/roomler "docker-entrypoint.s…" 15 minutes ago Up 15 minutes 3000/tcp roomler
9dfe4aa21afd gjovanov/janus-slim "/bin/sh -c /opt/jan…" 18 minutes ago Up 18 minutes janus
8c84e5a2e2aa bitnami/redis:latest "/opt/bitnami/script…" 20 minutes ago Up 20 minutes 0.0.0.0:6379->6379/tcp redis
61d54efb588c mongo "docker-entrypoint.s…" 23 minutes ago Up 23 minutes 0.0.0.0:27017->27017/tcp mongo

Thanks in advance,
Alexandre.

Lets-Encrypt

Have a look at caddy server that automatically aquires letsencrypt certificates for you!

NGINX ERROR

error nginx

I already use two public IP in my VM, but still got this error.

"npm ERR! Maximum call stack size exceeded" while I run ./script/build.sh

#0 2963.4 Cloning into 'roomler'...
#0 3060.2 sh: 1: node-gyp-build: Permission denied
#0 3060.4 npm ERR! Maximum call stack size exceeded
#0 3060.5
#0 3060.5 npm ERR! A complete log of this run can be found in:
#0 3060.5 npm ERR! /root/.npm/_logs/2023-02-15T08_35_35_506Z-debug.log
#0 3060.5 Install for [ 'lerna@latest' ] failed with code 1

Instructions to run in an end to end manner

Hi

Do you have instructions on how to proceed completing the setup ?
For example, How to create the user in mongodb via docker

If you can provide some details on how to manage things from end-to-end, it will help a lot.

Tutorial how to get started

Roomler is great apps... but I still get a lot of errors during installation.

Please provide us tutorial on how to get started from a new build OS (exp Centos 7 minimal). for example: via youtube video

Thank you

MongoDB for ubuntu 32-bit

Have a good day!
I have installed MongoDB in ubuntu 18.04 (32 bit) according to the next instruction
https://dzone.com/articles/installing-mongodb-on-32-bit-ubuntu-1510
Please, help me, how I should change "docker" to get Roomler worked
docker run -d --name mongo \ --restart=always \ -p 27017:27017 \ -v mongo_data:/data/db \
mongo
attach mongo container to backend network
docker network connect backend mongo
because this works only for 64 bit
Thank you in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.