modified files
Este commit está contenido en:
@@ -8,11 +8,11 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||
apt-get update && \
|
||||
apt-get install -y build-essential git debhelper dpkg-dev libssl-dev libevent-dev sqlite3 libsqlite3-dev postgresql-client libpq-dev default-mysql-client default-libmysqlclient-dev libhiredis-dev libmongoc-dev libbson-dev
|
||||
|
||||
# Clone coTURN
|
||||
# Clone Coturn
|
||||
WORKDIR ${BUILD_PREFIX}
|
||||
RUN git clone https://github.com/coturn/coturn.git
|
||||
|
||||
# Build coTURN
|
||||
# Build Coturn
|
||||
WORKDIR coturn
|
||||
RUN ./configure
|
||||
RUN make
|
||||
@@ -35,16 +35,16 @@ COPY --from=coturn-build ${BUILD_PREFIX}/coturn/turndb ${INSTALL_PREFIX}/turndb
|
||||
RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||
apt-get update && \
|
||||
apt-get install -y libc6>=2.15 libevent-core-2.1-6>=libevent-core-2.1-6 libevent-extra-2.1-6>=2.1.8-stable-4 libevent-openssl-2.1-6>=2.1.8-stable-4 libevent-pthreads-2.1-6>=2.1.8-stable-4 libhiredis0.14>=0.14.0 libmariadbclient-dev>=10.3.17 libpq5>=8.4~ libsqlite3-0>=3.6.0 libssl1.1>=1.1.0 libmongoc-1.0 libbson-1.0
|
||||
RUN apt-get install -y default-mysql-client postgresql-client redis-tools rsyslog
|
||||
#RUN apt-get install -y default-mysql-client postgresql-client redis-tools
|
||||
|
||||
# Install MongoDB
|
||||
RUN apt-get update && \
|
||||
apt-get install -y wget gnupg && \
|
||||
wget -qO - https://www.mongodb.org/static/pgp/server-4.0.asc | apt-key add - && \
|
||||
echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 main" | tee /etc/apt/sources.list.d/mongodb-org-4.0.list && \
|
||||
echo "deb http://deb.debian.org/debian/ stretch main" | tee /etc/apt/sources.list.d/debian-stretch.list && \
|
||||
apt-get update && \
|
||||
apt-get install -y libcurl3 mongodb-org mongodb-org-server mongodb-org
|
||||
# wget -qO - https://www.mongodb.org/static/pgp/server-4.0.asc | apt-key add - && \
|
||||
# echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 main" | tee /etc/apt/sources.list.d/mongodb-org-4.0.list && \
|
||||
echo "deb http://deb.debian.org/debian/ stretch main" | tee /etc/apt/sources.list.d/debian-stretch.list
|
||||
# apt-get update && \
|
||||
# apt-get install -y libcurl3 mongodb-org mongodb-org-server mongodb-org
|
||||
|
||||
RUN if ! getent group "$TURNSERVER_GROUP" >/dev/null; then \
|
||||
addgroup --system "$TURNSERVER_GROUP" || exit 1 ;\
|
||||
@@ -77,4 +77,3 @@ EXPOSE 49152-65535 49152-65535/udp
|
||||
|
||||
WORKDIR ${INSTALL_PREFIX}
|
||||
CMD ${INSTALL_PREFIX}/bin/turnserver
|
||||
|
||||
|
||||
@@ -49,8 +49,8 @@ tls-listening-port=5349
|
||||
# If no IP(s) specified in the config file or in the command line options,
|
||||
# then all IPv4 and IPv6 system IPs will be used for listening.
|
||||
#
|
||||
#listening-ip=82.223.3.135
|
||||
listening-ip=172.12.0.101
|
||||
listening-ip=82.223.3.135
|
||||
#listening-ip=172.12.0.101
|
||||
#listening-ip=10.207.21.238
|
||||
#listening-ip=2607:f0d0:1002:51::4
|
||||
|
||||
@@ -97,8 +97,8 @@ listening-ip=172.12.0.101
|
||||
#
|
||||
#relay-ip=172.17.19.105
|
||||
#relay-ip=2607:f0d0:1002:51::5
|
||||
#relay-ip=82.223.3.135
|
||||
relay-ip=172.12.0.101
|
||||
relay-ip=82.223.3.135
|
||||
#relay-ip=172.12.0.101
|
||||
|
||||
# For Amazon EC2 users:
|
||||
#
|
||||
@@ -128,7 +128,7 @@ relay-ip=172.12.0.101
|
||||
#external-ip=60.70.80.91/172.17.19.101
|
||||
#external-ip=60.70.80.92/172.17.19.102
|
||||
#external-ip=60.70.80.92/172.17.19.102
|
||||
external-ip=82.223.3.135/172.12.0.101
|
||||
#external-ip=82.223.3.135/172.12.0.101
|
||||
|
||||
|
||||
# Number of the relay threads to handle the established connections
|
||||
|
||||
Referencia en una nueva incidencia
Block a user