extract fsesl-akka

This commit is contained in:
chandi 2020-07-12 15:30:16 +02:00
parent 2c6116d56c
commit 1eca5e0c05
5 changed files with 28 additions and 11 deletions

View File

@ -159,6 +159,12 @@ services:
bbb-net: bbb-net:
ipv4_address: 10.7.7.11 ipv4_address: 10.7.7.11
fsesl-akka:
build: mod/fsesl-akka
networks:
bbb-net:
ipv4_address: 10.7.7.14
periodic: periodic:
build: mod/periodic build: mod/periodic
restart: unless-stopped restart: unless-stopped

View File

@ -36,7 +36,7 @@ RUN equivs-control redis-server.control \
# rebuilding from here on if changed # rebuilding from here on if changed
ENV VERSION v2.3-alpha-1 ENV VERSION v2.3-alpha-1
RUN apt-get update && apt-get install -y bbb-web bbb-fsesl-akka bbb-apps-akka bbb-transcode-akka RUN apt-get update && apt-get install -y bbb-web bbb-apps-akka bbb-transcode-akka
# add blank presentation files and allow conversation to pdf/svg # add blank presentation files and allow conversation to pdf/svg
RUN mkdir -p /usr/share/bigbluebutton/blank \ RUN mkdir -p /usr/share/bigbluebutton/blank \
@ -53,7 +53,6 @@ COPY web/bigbluebutton.properties /usr/share/bbb-web/WEB-INF/classes/bigbluebutt
COPY web/turn-stun-servers.xml /usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml.tmpl COPY web/turn-stun-servers.xml /usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml.tmpl
COPY bbb-apps-akka/application.conf /usr/share/bbb-apps-akka/conf/application.conf.tmpl COPY bbb-apps-akka/application.conf /usr/share/bbb-apps-akka/conf/application.conf.tmpl
COPY bbb-fsesl-akka/application.conf /etc/bbb-fsesl-akka/application.conf
COPY bbb-transcode-akka/application.conf /etc/bbb-transcode-akka/application.conf COPY bbb-transcode-akka/application.conf /etc/bbb-transcode-akka/application.conf
COPY web-run.sh /usr/share/bbb-web/run-prod.sh COPY web-run.sh /usr/share/bbb-web/run-prod.sh

View File

@ -16,15 +16,6 @@ stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2 stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0 stderr_logfile_maxbytes=0
[program:bbb-fsesl-akka]
command=/usr/local/bin/prefix-log /usr/share/bbb-fsesl-akka/bin/bbb-fsesl-akka
user=bigbluebutton
directory=/usr/share/bbb-fsesl-akka
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0
[program:bbb-transcode-akka] [program:bbb-transcode-akka]
command=/usr/local/bin/prefix-log /usr/share/bbb-transcode-akka/bin/bbb-transcode-akka command=/usr/local/bin/prefix-log /usr/share/bbb-transcode-akka/bin/bbb-transcode-akka
user=bigbluebutton user=bigbluebutton

21
mod/fsesl-akka/Dockerfile Normal file
View File

@ -0,0 +1,21 @@
FROM openjdk:8u252-jdk-slim-buster
RUN apt update && apt-get install -y subversion
ENV TAG v2.3-alpha-1
RUN cd / \
&& svn checkout https://github.com/alangecker/bbb-packages/tags/$TAG/bbb-fsesl-akka/data/usr/share/bbb-fsesl-akka \
&& rm -r /bbb-fsesl-akka/.svn \
&& groupadd -g 2003 fsesl \
&& useradd -m -u 2003 -g fsesl fsesl \
&& rm /bbb-fsesl-akka/logs \
&& mkdir /bbb-fsesl-akka/logs \
&& ln -s /dev/null /bbb-fsesl-akka/logs/bbb-fsesl-akka.log
COPY application.conf /bbb-fsesl-akka/conf/application.conf
USER fsesl
WORKDIR /bbb-fsesl-akka
CMD /bbb-fsesl-akka/bin/bbb-fsesl-akka