update nextcloud and oo version

This commit is contained in:
root 2024-01-18 23:24:14 +01:00
parent 8ce6a85f6a
commit 31ed45b81d
3 changed files with 15 additions and 3 deletions

View File

@ -19,7 +19,7 @@ networks:
services:
nextcloud-app:
image: nextcloud-cron:25.0.8
image: nextcloud-cron:26.0.10
build: .
container_name: nextcloud-app
restart: unless-stopped
@ -74,8 +74,11 @@ services:
restart: unless-stopped
onlyoffice:
build:
context: .
dockerfile: ./dockerfile-oo
container_name: onlyoffice
image: onlyoffice_1000:7.2.2_forcesave
image: onlyoffice:7.5.1
restart: unless-stopped
extra_hosts :
cloud.oasis21.org : 172.16.7.10

View File

@ -1,4 +1,4 @@
FROM nextcloud:25.0.8-apache
FROM nextcloud:26.0.10-apache
ARG VERSION

9
nextcloud/dockerfile-oo Normal file
View File

@ -0,0 +1,9 @@
FROM thomisus/onlyoffice-documentserver-unlimited:7.5.1
ARG VERSION
RUN sed -i '27i FORCESAVE_ENABLE=${FORCESAVE_ENABLE:-false}\nFORCESAVE_INTERVAL=${FORCESAVE_INTERVAL:-5m}\nFORCESAVE_STEP=${FORCESAVE_STEP:-1m}\n' /app/ds/run-document-server.sh
RUN sed -i '340i ${JSON} -I -e "if(this.services.CoAuthoring.autoAssembly===undefined)this.services.CoAuthoring.autoAssembly={};"' /app/ds/run-document-server.sh
RUN sed -i '341i ${JSON} -I -e "this.services.CoAuthoring.autoAssembly.enable = ${FORCESAVE_ENABLE}"' /app/ds/run-document-server.sh
RUN sed -i '342i ${JSON} -I -e "this.services.CoAuthoring.autoAssembly.interval = \x27${FORCESAVE_INTERVAL}\x27"' /app/ds/run-document-server.sh
RUN sed -i '343i ${JSON} -I -e "this.services.CoAuthoring.autoAssembly.step = \x27${FORCESAVE_STEP}\x27"\n' /app/ds/run-document-server.sh