Git Product home page Git Product logo

jire's Introduction

Jire: Reservation System for Jitsi Meet

From github.com/jitsi/jicofo:

It is possible to connect Jicofo to external conference reservation system using REST API. Before new Jitsi-meet conference is created reservation system will be queried for room availability. The system is supposed to return positive or negative response which also contains conference duration. Jicofo will enforce conference duration and if the time limit is exceeded the conference will be terminated. If any authentication system is enabled then user's identity will be included in the reservation system query.

Jire does this for you.

Screenshot of the configuration interface

Features

  • Create room reservations
  • System checks for overlapping reservations and conferences

To be implemented

  • Edit or reschedule a reservation
  • Allow users to login and and manage their own conferences

Note: Conferences created without a reservation are set to a duration of 6 hours by default.

Run with Docker

docker build -t jire:latest .
docker run -v "$(pwd)"/log:/opt/venv/log "$(pwd)"/data:/opt/venv/data -p 8080:8080 jire:latest

Configure Jitsi Meet

If you use docker-jitsi-meet you need to change the following lines in .env:

JICOFO_RESERVATION_ENABLED=true
JICOFO_RESERVATION_REST_BASE_URL=<url-to-your-jire>

If you want to add Jire to your existing docker-jitsi-meet setup you could use the following compose file:

version: '3'

services:
  jire:
    image: jire:latest
    restart: unless-stopped
    volumes:
      - ./log:/opt/venv/log
      - ./data:/opt/venv/data
    ports:
      - 127.0.0.1:8080:8080
    environment:
      - PUBLIC_URL=https://meet.example.com

networks:
    default:
        external:
            name: jitsi-meet_meet.jitsi

And set the endpoint in .env with

JICOFO_RESERVATION_REST_BASE_URL=http://jire:8080

Restart jicofo and you're good to go.

Run with gunicorn

pip install gunicorn
exec gunicorn -b :8080 main:app

Development

This is a work in progress, pull requests are welcome.

Install with python setup.py develop and run with flask run.

jire's People

Contributors

loelkes avatar

Stargazers

Looped avatar Vadim S avatar Andreas Boesen avatar  avatar Georg avatar Juan Miguel avatar Anirban Das avatar Lena Schneider avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

supczinskib

jire's Issues

Docker

I have a problem
Client: Docker Engine - Community
Version: 24.0.7
API version: 1.43
Go version: go1.20.10

Server: Docker Engine - Community
Engine:
Version: 24.0.7
API version: 1.43 (minimum version 1.12)

after start

[2023-11-23 14:43:45 +0000] [1] [INFO] Starting gunicorn 21.2.0
[2023-11-23 14:43:45 +0000] [1] [INFO] Listening at: http://0.0.0.0:8080 (1)
[2023-11-23 14:43:45 +0000] [1] [INFO] Using worker: sync
[2023-11-23 14:43:45 +0000] [7] [INFO] Booting worker with pid: 7
[2023-11-23 14:43:47 +0000] [1] [ERROR] Worker (pid:7) exited with code 3
[2023-11-23 14:43:47 +0000] [1] [ERROR] Shutting down: Master
[2023-11-23 14:43:47 +0000] [1] [ERROR] Reason: Worker failed to boot.
[2023-11-24 05:42:14 +0000] [1] [INFO] Starting gunicorn 21.2.0
[2023-11-24 05:42:14 +0000] [1] [INFO] Listening at: http://0.0.0.0:8080 (1)
[2023-11-24 05:42:14 +0000] [1] [INFO] Using worker: sync
[2023-11-24 05:42:14 +0000] [7] [INFO] Booting worker with pid: 7
[2023-11-24 05:42:15 +0000] [1] [ERROR] Worker (pid:7) exited with code 3
[2023-11-24 05:42:15 +0000] [1] [ERROR] Shutting down: Master
[2023-11-24 05:42:15 +0000] [1] [ERROR] Reason: Worker failed to boot.

does not work

i successfully setup the docker container, but adding a reservation does not work

the log is telling

root@jitsi:~/reservation/jire# docker run -v /root/reservation/jire/log:/opt/venv/log -v /root/reservation/jire/data:/opt/venv/data -p 9090:8080 jire:latest
[2022-10-09 14:55:40 +0000] [1] [INFO] Starting gunicorn 20.1.0
[2022-10-09 14:55:40 +0000] [1] [INFO] Listening at: http://0.0.0.0:8080 (1)
[2022-10-09 14:55:40 +0000] [1] [INFO] Using worker: sync
[2022-10-09 14:55:40 +0000] [7] [INFO] Booting worker with pid: 7
[2022-10-09 14:56:05,458] DEBUG in Conferences: Add reservation for room rolandsraum to the database
[2022-10-09 14:56:05,458] INFO in routes: New reservation validation successfull
[2022-10-09 14:56:23,271] DEBUG in Conferences: Add reservation for room testroland to the database
[2022-10-09 14:56:23,271] INFO in routes: New reservation validation successfull

but in the reservation list , no reservation is shown

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.