Skip to content
Permalink
Browse files

Fix minishift startup

  • Loading branch information...
agolybev committed Oct 2, 2018
1 parent 0effd2b commit 23d320dc2a705dfb4450455a0c24f9f8841104b6
Showing with 2 additions and 6 deletions.
  1. +1 −1 Dockerfile
  2. +1 −5 run-document-server.sh
@@ -70,6 +70,6 @@ RUN echo "$REPO_URL" | tee /etc/apt/sources.list.d/onlyoffice.list && \
rm -rf /var/log/onlyoffice && \
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
@@ -267,15 +267,11 @@ done
mkdir -p ${DS_LOG_DIR}-example

# 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"
chmod -R 755 "$i"
done

#setup logrotate config rights
chmod 644 ${CONF_DIR}/logrotate/*
chown root:root ${CONF_DIR}/logrotate/*

if [ ${ONLYOFFICE_DATA_CONTAINER_HOST} = "localhost" ]; then

read_setting

0 comments on commit 23d320d

Please sign in to comment.
You can’t perform that action at this time.