Update to v0.31.2
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
[0.1.5]
|
||||||
|
* Update to synapse v0.31.2
|
||||||
|
|
||||||
[0.1.4]
|
[0.1.4]
|
||||||
* Changed log location of synapse due to backup crashes
|
* Changed log location of synapse due to backup crashes
|
||||||
* Updated some configs
|
* Updated some configs
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"description": "file://DESCRIPTION.md",
|
"description": "file://DESCRIPTION.md",
|
||||||
"changelog": "file://CHANGELOG",
|
"changelog": "file://CHANGELOG",
|
||||||
"tagline": "standalone matrix server",
|
"tagline": "standalone matrix server",
|
||||||
"version": "0.1.1",
|
"version": "0.1.5",
|
||||||
"healthCheckPath": "/",
|
"healthCheckPath": "/",
|
||||||
"httpPort": 8000,
|
"httpPort": 8000,
|
||||||
"memoryLimit": 536870912,
|
"memoryLimit": 536870912,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
FROM cloudron/base:0.10.0
|
FROM cloudron/base:0.10.0
|
||||||
MAINTAINER Authors name <support@cloudron.io>
|
MAINTAINER Authors name <support@cloudron.io>
|
||||||
|
|
||||||
RUN mkdir -p /app/code
|
RUN mkdir -p /app/code/nginx
|
||||||
RUN mkdir -p /app/data/templates
|
RUN mkdir -p /app/data/templates
|
||||||
|
|
||||||
WORKDIR /app/code
|
WORKDIR /app/code
|
||||||
@@ -23,6 +23,7 @@ RUN sed -e 's,#TURNSERVER_ENABLED=1,TURNSERVER_ENABLED=1,' -i /etc/default/cotur
|
|||||||
# Synapse
|
# Synapse
|
||||||
# a local copy is needed because of the mail templates, else the pip installation would suffice
|
# a local copy is needed because of the mail templates, else the pip installation would suffice
|
||||||
RUN git clone https://github.com/matrix-org/synapse.git
|
RUN git clone https://github.com/matrix-org/synapse.git
|
||||||
|
RUN cd /app/code/synapse && git pull origin master
|
||||||
|
|
||||||
RUN apt-get install -y build-essential python2.7-dev libffi-dev \
|
RUN apt-get install -y build-essential python2.7-dev libffi-dev \
|
||||||
python-pip python-setuptools sqlite3 \
|
python-pip python-setuptools sqlite3 \
|
||||||
@@ -37,7 +38,7 @@ RUN pip install https://github.com/matrix-org/synapse/tarball/master
|
|||||||
|
|
||||||
|
|
||||||
# copy index.html
|
# copy index.html
|
||||||
COPY index.html /app/code
|
COPY index.html /app/code/nginx
|
||||||
|
|
||||||
RUN chown -R www-data.www-data /app/code /app/data
|
RUN chown -R www-data.www-data /app/code /app/data
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /app/code;
|
root /app/code/nginx;
|
||||||
index index.html;
|
index index.html;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -108,6 +108,19 @@ if [[ ! -d /app/data/synapse ]]; then
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mkdir -p /app/data/synapse \
|
||||||
|
/app/data/nginx/fastcgi \
|
||||||
|
/run/nginx_log \
|
||||||
|
/run/synapse \
|
||||||
|
/run/turn_log
|
||||||
|
|
||||||
|
# fix permissions
|
||||||
|
chown -R www-data.www-data /run/synapse \
|
||||||
|
/run/turn_log \
|
||||||
|
/app/data
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
chown -R www-data.www-data /app/data
|
chown -R www-data.www-data /app/data
|
||||||
|
|
||||||
cd /app/data/synapse
|
cd /app/data/synapse
|
||||||
|
|||||||
Reference in New Issue
Block a user