diff options
author | Alex Auvolat <alex@adnab.me> | 2022-08-24 15:42:47 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-08-24 15:42:47 +0200 |
commit | 2e8923b383eb06c53261eee8e5c442b857fb67e4 (patch) | |
tree | 0ad148f75f7b54dfed2dbac8f43f6df9badc502a /app/jitsi/build/jitsi-xmpp | |
parent | 9848f3090f77363a2fda0f9fa673ebcf1fb8228c (diff) | |
download | nixcfg-2e8923b383eb06c53261eee8e5c442b857fb67e4.tar.gz nixcfg-2e8923b383eb06c53261eee8e5c442b857fb67e4.zip |
Move app files into cluster subdirectories; add prod garage
Diffstat (limited to 'app/jitsi/build/jitsi-xmpp')
-rw-r--r-- | app/jitsi/build/jitsi-xmpp/Dockerfile | 35 | ||||
-rwxr-xr-x | app/jitsi/build/jitsi-xmpp/xmpp_prosody | 9 |
2 files changed, 0 insertions, 44 deletions
diff --git a/app/jitsi/build/jitsi-xmpp/Dockerfile b/app/jitsi/build/jitsi-xmpp/Dockerfile deleted file mode 100644 index a060fda..0000000 --- a/app/jitsi/build/jitsi-xmpp/Dockerfile +++ /dev/null @@ -1,35 +0,0 @@ -FROM debian:bookworm as builder - -RUN apt-get update && \ - apt-get install -y git unzip - -ARG MEET_TAG -RUN git clone --depth 1 --branch ${MEET_TAG} https://github.com/jitsi/jitsi-meet/ - -FROM debian:bookworm - -ARG PROSODY_VERSION -RUN apt-get update && \ - apt-get install -y wget gnupg2 && \ - echo deb http://packages.prosody.im/debian buster main \ - | tee -a /etc/apt/sources.list && \ - wget https://prosody.im/files/prosody-debian-packages.key -O - \ - | apt-key add - && \ - apt-get update && \ - apt-get install -y prosody=${PROSODY_VERSION} lua-event - -RUN mkdir -p /usr/local/share/ca-certificates/ && \ - ln -sf \ - /var/lib/prosody/certs/auth.jitsi.crt \ - /usr/local/share/ca-certificates/auth.jitsi.crt && \ - mkdir /run/prosody && \ - touch /run/prosody/prosody.pid && \ - mkdir -p /var/lib/prosody && \ - chown -R prosody:prosody /var/lib/prosody /run/prosody - -COPY --from=builder /jitsi-meet/resources/prosody-plugins /usr/share/jitsi-meet/prosody-plugins/ -COPY xmpp_prosody /usr/local/bin/xmpp_prosody - -WORKDIR /var/lib/prosody -USER prosody -CMD ["/usr/local/bin/xmpp_prosody"] diff --git a/app/jitsi/build/jitsi-xmpp/xmpp_prosody b/app/jitsi/build/jitsi-xmpp/xmpp_prosody deleted file mode 100755 index af179e5..0000000 --- a/app/jitsi/build/jitsi-xmpp/xmpp_prosody +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -prosodyctl register focus auth.jitsi ${JICOFO_AUTH_PASSWORD} -prosodyctl register jvb auth.jitsi ${JVB_AUTH_PASSWORD} - -# copied from jitsi-meet.postinst -# Make sure the focus@auth user's roster includes the proxy component (this is idempotent) -prosodyctl mod_roster_command subscribe focus.jitsi focus@auth.jitsi - -exec prosody |