mirror of
https://github.com/luzifer-docker/jitsi.git
synced 2024-11-08 14:50:02 +00:00
Allow UI modifications through mount
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
b1a966b452
commit
6662efd965
3 changed files with 16 additions and 0 deletions
|
@ -21,6 +21,8 @@ COPY services /etc/services.d
|
|||
# Application expose
|
||||
EXPOSE 80/tcp
|
||||
|
||||
VOLUME ["/ui"]
|
||||
|
||||
# Hopefully has some sense?
|
||||
EXPOSE 10000/udp 10001/udp 10002/udp 10003/udp 10004/udp 10005/udp 10006/udp 10007/udp 10008/udp 10009/udp 10010/udp
|
||||
|
||||
|
|
2
build.sh
2
build.sh
|
@ -8,6 +8,8 @@ packages_build=(
|
|||
|
||||
packages_install=(
|
||||
jitsi-meet
|
||||
patch
|
||||
rsync
|
||||
)
|
||||
|
||||
no_postinst_pkgs=(
|
||||
|
|
12
setup.sh
12
setup.sh
|
@ -40,3 +40,15 @@ update-ca-certificates -f
|
|||
|
||||
# Generate user for admin
|
||||
prosodyctl register focus "auth.${JITSI_DOMAIN}" "${JITSI_ADMIN_SECRET}"
|
||||
|
||||
# Overwrite UI files from mount
|
||||
[ -d /ui/files ] && rsync -rv /ui/files/ /usr/share/jitsi-meet/
|
||||
[ -d /ui/patches ] && {
|
||||
pushd /usr/share/jitsi-meet
|
||||
|
||||
for patch_file in /ui/patches/*.patch; do
|
||||
patch -b -i "${patch_file}" -p0
|
||||
done
|
||||
|
||||
popd
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue