forked from robertoandrade/docker-jitsi-meet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (20 loc) · 1.04 KB
/
Dockerfile
File metadata and controls
26 lines (20 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM debian:latest
ENV DEBIAN_FRONTEND noninteractive
ENV TERM xterm
RUN apt-get update && \
apt-get install -y gnupg wget vim && \
echo 'deb http://download.jitsi.org/nightly/deb unstable/' >> /etc/apt/sources.list && \
wget -qO - https://download.jitsi.org/nightly/deb/unstable/archive.key | apt-key add - && \
apt-get update && \
apt-get -y --allow-unauthenticated install jitsi-meet && \
apt-get clean
#/etc/jitsi/meet/localhost-config.js = bosh: '//localhost/http-bind',
RUN sed s/JVB_HOSTNAME=/JVB_HOSTNAME=$VIRTUAL_HOST/ -i /etc/jitsi/videobridge/config && \
sed s/JICOFO_HOSTNAME=/JICOFO_HOSTNAME=$VIRTUAL_HOST/ -i /etc/jitsi/jicofo/config
RUN echo 'org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)' \
>> /etc/jitsi/videobridge/sip-communicator.properties && \
echo 'org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=$PUBLIC_IP_ADDRESS' \
>> /etc/jitsi/videobridge/sip-communicator.properties
EXPOSE 80 443 5347 4443 10000-10020/udp
COPY run.sh /run.sh
CMD /run.sh