File tree Expand file tree Collapse file tree 4 files changed +65
-1
lines changed
Expand file tree Collapse file tree 4 files changed +65
-1
lines changed Original file line number Diff line number Diff line change 1+ room-connector.example.com {
2+
3+ # BBB PLugin
4+ root * /srv
5+ file_server
6+
7+ # Room Hub
8+ route /room-hub* {
9+ uri strip_prefix /room-hub
10+ reverse_proxy room_hub:8080
11+ }
12+
13+ }
Original file line number Diff line number Diff line change 1+ services :
2+ room-connector-plugin :
3+ image : room-conntector-plugin:latest
4+ container_name : room_connector_plugin
5+ volumes :
6+ - ./plugins:/plugins
7+
8+ room_hub :
9+ image : ghcr.io/bigbluebutton/bigbluebutton-room-media-connector:develop
10+ container_name : room_hub
11+ restart : unless-stopped
12+ networks :
13+ - room_hub_network
14+
15+ caddy :
16+ image : caddy:latest
17+ container_name : caddy
18+ volumes :
19+ - ./plugins:/srv:ro
20+ - ./caddy:/etc/caddy:ro
21+ ports :
22+ - " 80:80"
23+ - " 443:443"
24+ networks :
25+ - room_hub_network
26+
27+ networks :
28+ room_hub_network :
29+ driver : bridge
Original file line number Diff line number Diff line change 1+ # Stage 1: Build the JavaScript bundle
2+ FROM node:18 AS build
3+
4+ WORKDIR /app
5+
6+ COPY package*.json ./
7+
8+ RUN npm install
9+
10+ COPY . .
11+
12+ RUN npm run build-bundle
13+
14+ # Stage 2: Copy bundle to the host
15+ FROM alpine:latest
16+ WORKDIR /output
17+
18+ COPY --from=build /app/dist /output
19+ COPY --from=build /app/manifest.json /output
20+
21+ # Copy the bundle to the hosts file system
22+ CMD ["sh" , "-c" , "cp -r /output/* /plugins/plugins/room-connector-plugin" ]
Original file line number Diff line number Diff line change 11{
2- "requiredSdkVersion" : " ~0.0.68 " ,
2+ "requiredSdkVersion" : " ~0.1.2 " ,
33 "name" : " RoomMediaPlugin" ,
44 "javascriptEntrypointUrl" : " RoomMediaPlugin.js" ,
55 "localesBaseUrl" : " https://cdn.dominio.com/pluginabc/"
You can’t perform that action at this time.
0 commit comments