Postgres, LDAP, etc, check changelog
This commit is contained in:
24
Dockerfile
24
Dockerfile
@@ -2,27 +2,39 @@ FROM cloudron/base:0.10.0
|
||||
MAINTAINER Authors name <support@cloudron.io>
|
||||
|
||||
RUN mkdir -p /app/code
|
||||
RUN mkdir -p /app/data
|
||||
WORKDIR /app/code
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
# Riot web
|
||||
RUN curl -L https://github.com/vector-im/riot-web/releases/download/v0.9.7/vector-v0.9.7.tar.gz | tar -xz --strip-components 1 -f -
|
||||
RUN ln -sf /app/data/riot_config.json /app/code/config.json
|
||||
|
||||
# Nginx
|
||||
RUN rm /etc/nginx/sites-enabled/*
|
||||
ADD nginx_matrix.conf /etc/nginx/sites-enabled/
|
||||
RUN rm -rf /var/lib/nginx && ln -sf /app/data/nginx /var/lib/nginx
|
||||
RUN rm -rf /var/log/nginx && ln -sf /app/data/nginx_log /var/log/nginx
|
||||
|
||||
|
||||
# TURN
|
||||
RUN apt update && apt-get install -y coturn
|
||||
|
||||
RUN sed -e 's,#TURNSERVER_ENABLED=1,TURNSERVER_ENABLED=1,' -i /etc/default/coturn \
|
||||
&& rm /etc/turnserver.conf \
|
||||
&& ln -s /app/data/turnserver.conf /etc/turnserver.conf
|
||||
|
||||
|
||||
# Synapse
|
||||
RUN apt update && apt-get install -y build-essential python2.7-dev libffi-dev \
|
||||
python-wheel python-pip python-setuptools sqlite3 \
|
||||
RUN apt-get install -y build-essential python2.7-dev libffi-dev \
|
||||
python-pip python-setuptools sqlite3 \
|
||||
libssl-dev libjpeg-dev libxslt1-dev
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install --upgrade setuptools
|
||||
RUN pip install psycopg2-binary py-bcrypt
|
||||
RUN pip install https://github.com/matrix-org/synapse/tarball/master
|
||||
|
||||
|
||||
# copy index.html
|
||||
COPY index.html /app/code
|
||||
|
||||
RUN chown -R www-data.www-data /app/code
|
||||
|
||||
ADD start_matrix.sh /app/
|
||||
|
||||
Reference in New Issue
Block a user