Skip to content

Instantly share code, notes, and snippets.

@p1nox
Last active March 18, 2018 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save p1nox/73a02b49d9fcc371b332ac3842ced7ba to your computer and use it in GitHub Desktop.
Save p1nox/73a02b49d9fcc371b332ac3842ced7ba to your computer and use it in GitHub Desktop.
Set Jitsi server
FROM ubuntu:16.04
MAINTAINER jitsi-meet <jitsi@meet.com>
ARG DEBIAN_FRONTEND=noninteractive
# we want python to output everything that's printed inside the app rather than buffering it
# ENV PYTHONUNBUFFERED 1
# update apt-get
RUN apt-get update
RUN apt-get install -y htop vim wget curl apt-transport-https
RUN echo 'deb https://download.jitsi.org stable/' >> /etc/apt/sources.list.d/jitsi-stable.list
RUN wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | apt-key add -
RUN apt-get update
RUN apt-get -y install jitsi-meet
RUN apt-get install letsencrypt
RUN export LC_ALL="en_US.UTF-8"
RUN export LC_CTYPE="en_US.UTF-8"
# RUN /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
CMD bash
apt-get update
apt-get install apt-transport-https wget htop vim -y
echo 'deb https://download.jitsi.org stable/' >> /etc/apt/sources.list.d/jitsi-stable.list
wget -qO -  https://download.jitsi.org/jitsi-key.gpg.key | apt-key add -
apt-get update
apt-get -y install jitsi-meet

apt-get install letsencrypt
export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
/usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
ngrok tls -subdomain=encrypted 443
docker run -it -d -p 80:80 -p 4443:4443 -p 10000:10000/udp jitsime bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment