v5.2.3
This commit is contained in:
commit
c266215700
|
@ -70,6 +70,6 @@ RUN echo "$REPO_URL" | tee /etc/apt/sources.list.d/onlyoffice.list && \
|
||||||
rm -rf /var/log/onlyoffice && \
|
rm -rf /var/log/onlyoffice && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
VOLUME /etc/onlyoffice /var/log/onlyoffice /var/lib/onlyoffice /var/www/onlyoffice/Data /var/lib/postgresql /usr/share/fonts/truetype/custom
|
VOLUME /var/log/onlyoffice /var/lib/onlyoffice /var/www/onlyoffice/Data /var/lib/postgresql /usr/share/fonts/truetype/custom
|
||||||
|
|
||||||
ENTRYPOINT /app/onlyoffice/run-document-server.sh
|
ENTRYPOINT /app/onlyoffice/run-document-server.sh
|
||||||
|
|
|
@ -267,7 +267,7 @@ done
|
||||||
mkdir -p ${DS_LOG_DIR}-example
|
mkdir -p ${DS_LOG_DIR}-example
|
||||||
|
|
||||||
# change folder rights
|
# change folder rights
|
||||||
for i in ${CONF_DIR} ${LOG_DIR} ${LIB_DIR} ${DATA_DIR}; do
|
for i in ${LOG_DIR} ${LIB_DIR} ${DATA_DIR}; do
|
||||||
chown -R onlyoffice:onlyoffice "$i"
|
chown -R onlyoffice:onlyoffice "$i"
|
||||||
chmod -R 755 "$i"
|
chmod -R 755 "$i"
|
||||||
done
|
done
|
||||||
|
@ -302,6 +302,8 @@ if [ ${ONLYOFFICE_DATA_CONTAINER_HOST} = "localhost" ]; then
|
||||||
update_rabbitmq_setting
|
update_rabbitmq_setting
|
||||||
else
|
else
|
||||||
LOCAL_SERVICES+=("rabbitmq-server")
|
LOCAL_SERVICES+=("rabbitmq-server")
|
||||||
|
# allow Rabbitmq startup after container kill
|
||||||
|
rm -rf /var/run/rabbitmq
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${REDIS_SERVER_HOST} != "localhost" ]; then
|
if [ ${REDIS_SERVER_HOST} != "localhost" ]; then
|
||||||
|
|
Loading…
Reference in a new issue