Skip to content

Commit dce2fa6

Browse files
committed
Turn : cleaning code
1 parent 3504749 commit dce2fa6

File tree

7 files changed

+6
-9
lines changed

7 files changed

+6
-9
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FORCE_REBUILD ?= 0
22
JITSI_RELEASE ?= stable
33
JITSI_BUILD ?= latest
44
JITSI_REPO ?= jitsi
5-
JITSI_SERVICES ?= base base-java web prosody jicofo jvb jigasi etherpad jibri turn
5+
JITSI_SERVICES ?= base base-java web prosody jicofo jvb jigasi jibri turn
66

77
BUILD_ARGS := --build-arg JITSI_REPO=$(JITSI_REPO) --build-arg JITSI_RELEASE=$(JITSI_RELEASE)
88
ifeq ($(FORCE_REBUILD), 1)

etherpad.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: '3'
33
services:
44
# Etherpad: real-time collaborative document editing
55
etherpad:
6-
image: jitsi/etherpad:latest
6+
image: etherpad/etherpad:1.8.6
77
restart: ${RESTART_POLICY}
88
environment:
99
- TITLE="${ETHERPAD_TITLE}"

prosody/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ RUN \
4545
&& rm -rf /tmp/pkg /var/cache/apt
4646

4747
RUN patch -d /usr/lib/prosody/modules/muc -p0 < /prosody-plugins/muc_owner_allow_kick.patch
48-
RUN \
49-
curl -4so /prosody-plugins/mod_turncredentials.lua \
50-
https://raw.githubusercontent.com/netaskd/mod_turncredentials/master/mod_turncredentials.lua
5148

5249
COPY rootfs/ /
5350

prosody/rootfs/defaults/prosody.cfg.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,4 +186,4 @@ turncredentials = {
186186
transport = "{{ .Env.TURN_TRANSPORT | default "tcp" }}"
187187
}
188188
{{ end }}
189-
{{ end }}
189+
{{ end }}

prosody/rootfs/etc/cont-init.d/10-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if [[ "$(stat -c %U /prosody-plugins-custom)" != "prosody" ]]; then
2626
fi
2727

2828
cp -r /defaults/* /config
29-
if [[ "${TURN_ENABLE}" == "1" || "${TURN_ENABLE}" == "true" ]]; then
29+
if [[ "${ENABLE_TURN}" == "1" || "${ENABLE_TURN}" == "true" ]]; then
3030
[ -z "${GLOBAL_MODULES}" ] && export GLOBAL_MODULES="turncredentials" \
3131
|| export GLOBAL_MODULES="${GLOBAL_MODULES},turncredentials"
3232
fi

turn/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ ENTRYPOINT ["/docker-entrypoint.sh"]
1111

1212
VOLUME ["/config"]
1313

14-
EXPOSE 80 5349 8443 10000:11000/udp
14+
EXPOSE 80 5349 8443 10000:11000/udp

turn/rootfs/defaults/letsencrypt-renew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ certbot --no-self-upgrade -n renew >> /config/le-renew.log
44

55
# Not sur it reload the service ...
66
/bin/kill -HUP `cat /var/run/turnserver.pid 2>/dev/null` 2> /dev/null || true
7-
exit 0
7+
exit 0

0 commit comments

Comments
 (0)