From c4a6cf1534b864d3941c839d4a4dca7e505bd828 Mon Sep 17 00:00:00 2001 From: Quentin Date: Sat, 12 Sep 2020 10:03:48 +0200 Subject: Rebase first step --- app_build/jitsi-xmpp/Dockerfile | 11 +++++++ app_build/jitsi-xmpp/external_components.cfg.lua | 2 ++ app_build/jitsi-xmpp/xmpp_conf | 42 ++++++++++++++++++++++++ app_build/jitsi-xmpp/xmpp_gen | 9 +++++ app_build/jitsi-xmpp/xmpp_run | 19 +++++++++++ 5 files changed, 83 insertions(+) create mode 100644 app_build/jitsi-xmpp/Dockerfile create mode 100644 app_build/jitsi-xmpp/external_components.cfg.lua create mode 100755 app_build/jitsi-xmpp/xmpp_conf create mode 100755 app_build/jitsi-xmpp/xmpp_gen create mode 100755 app_build/jitsi-xmpp/xmpp_run (limited to 'app_build/jitsi-xmpp') diff --git a/app_build/jitsi-xmpp/Dockerfile b/app_build/jitsi-xmpp/Dockerfile new file mode 100644 index 0000000..3733d49 --- /dev/null +++ b/app_build/jitsi-xmpp/Dockerfile @@ -0,0 +1,11 @@ +FROM debian:buster + +RUN apt-get update && \ + apt-get install -y prosody + +COPY external_components.cfg.lua /etc/prosody/conf.d/external_components.cfg.lua +COPY xmpp_conf /usr/local/bin/xmpp_conf +COPY xmpp_gen /usr/local/bin/xmpp_gen +COPY xmpp_run /usr/local/bin/xmpp_run + +CMD ["/usr/local/bin/xmpp_run"] diff --git a/app_build/jitsi-xmpp/external_components.cfg.lua b/app_build/jitsi-xmpp/external_components.cfg.lua new file mode 100644 index 0000000..beaaa87 --- /dev/null +++ b/app_build/jitsi-xmpp/external_components.cfg.lua @@ -0,0 +1,2 @@ +component_ports = { 5347 } +component_interface = "0.0.0.0" diff --git a/app_build/jitsi-xmpp/xmpp_conf b/app_build/jitsi-xmpp/xmpp_conf new file mode 100755 index 0000000..2a9278e --- /dev/null +++ b/app_build/jitsi-xmpp/xmpp_conf @@ -0,0 +1,42 @@ +#!/bin/bash + +cat >> /etc/hosts < /etc/prosody/conf.avail/jitsi.deuxfleurs.fr.cfg.lua <