Update to v1.4.1
This commit is contained in:
24
Dockerfile
24
Dockerfile
@@ -6,10 +6,12 @@ RUN mkdir -p /app/code/nginx
|
||||
|
||||
WORKDIR /app/code
|
||||
|
||||
ENV MATRIXVERSION=v1.3.1
|
||||
ENV MATRIXVERSION=v1.4.1
|
||||
|
||||
EXPOSE 8000
|
||||
EXPOSE 3478/udp
|
||||
# addons wip
|
||||
# EXPOSE 9000
|
||||
|
||||
# nginx
|
||||
RUN rm /etc/nginx/sites-enabled/*
|
||||
@@ -38,6 +40,26 @@ RUN pip3 install --upgrade setuptools
|
||||
RUN pip3 install psycopg2-binary python-ldap matrix-synapse-ldap3 lxml netaddr twisted jinja2 bleach bcrypt
|
||||
RUN pip3 install https://github.com/matrix-org/synapse/archive/${MATRIXVERSION}.tar.gz
|
||||
|
||||
# install addons
|
||||
#RUN cd /app/code && git clone http://github.com/turt2live/matrix-appservice-webhooks
|
||||
#RUN cd /app/code/matrix-appservice-webhooks && npm install
|
||||
#RUN mv /app/code/matrix-appservice-webhooks/db /app/code/matrix-appservice-webhooks/db_orig && \
|
||||
#dir for sqlite db
|
||||
# ln -sf /app/data/appservice/db /app/code/matrix-appservice-webhooks/db && \
|
||||
# config
|
||||
# ln -sf /app/data/appservice/config/config.yaml /app/code/matrix-appservice-webhooks/config/config.yaml && \
|
||||
# hooks
|
||||
# ln -sf /app/data/appservice/appservice-registration-webhooks.yaml /app/code/matrix-appservice-webhooks/appservice-registration-webhooks.yaml
|
||||
|
||||
|
||||
# todo:
|
||||
# to create the config, run the following from /app/code/matrix-appservice-webhooks
|
||||
# node index.js -r -u "http://localhost:9000" -c config/config.yaml
|
||||
# add this to homeserver.yml and restart:
|
||||
# app_service_config_files: ["appservice-registration-webhooks.yaml"]
|
||||
# to start the appservice use
|
||||
# node index.js -p 9000 -c config/config.yaml -f appservice-registration-webhooks.yaml
|
||||
|
||||
RUN chown -R www-data.www-data /app/code
|
||||
|
||||
ADD start_matrix.sh /app/
|
||||
|
||||
Reference in New Issue
Block a user