Initial import

This commit is contained in:
Saúl Ibarra Corretgé
2018-03-14 10:23:13 +01:00
commit 467a149cbb
37 changed files with 1010 additions and 0 deletions

11
jicofo/Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM jitsi/base-java
RUN \
apt-dpkg-wrap apt-get update && \
apt-dpkg-wrap apt-get install -y jicofo && \
apt-cleanup
COPY rootfs/ /
VOLUME /config

4
jicofo/Makefile Normal file
View File

@@ -0,0 +1,4 @@
build:
docker build -t jitsi/jicofo .
.PHONY: build

View File

@@ -0,0 +1 @@
org.jitsi.jicofo.ALWAYS_TRUST_MODE_ENABLED=true

View File

@@ -0,0 +1,6 @@
#!/usr/bin/with-contenv bash
if [[ ! -f /config/sip-communicator.properties ]]; then
cp /defaults/sip-communicator.properties /config
fi

View File

@@ -0,0 +1,9 @@
#!/usr/bin/with-contenv bash
JAVA_SYS_PROPS="-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/ -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=config"
DAEMON=/usr/share/jicofo/jicofo.sh
DAEMON_DIR=/usr/share/jicofo/
DAEMON_OPTS="--domain=$XMPP_DOMAIN --host=$XMPP_SERVER --secret=$JICOFO_COMPONENT_SECRET --user_name=$JICOFO_AUTH_USER --user_domain="auth.$XMPP_DOMAIN" --user_password=$JICOFO_AUTH_PASSWORD"
exec s6-setuidgid jicofo /bin/bash -c "cd $DAEMON_DIR; JAVA_SYS_PROPS=\"$JAVA_SYS_PROPS\" exec $DAEMON $DAEMON_OPTS"