diff --git a/Dockerfile b/Dockerfile index 5f1bf17..708b4a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -78,7 +78,8 @@ ARG PRODUCT_NAME=documentserver ARG PACKAGE_URL="http://download.onlyoffice.com/install/documentserver/linux/${COMPANY_NAME}-${PRODUCT_NAME}${PRODUCT_EDITION}_$TARGETARCH.deb" ENV COMPANY_NAME=$COMPANY_NAME \ - PRODUCT_NAME=$PRODUCT_NAME + PRODUCT_NAME=$PRODUCT_NAME \ + PRODUCT_EDITION=$PRODUCT_EDITION RUN wget -q -P /tmp "$PACKAGE_URL" && \ apt-get -y update && \ diff --git a/run-document-server.sh b/run-document-server.sh index 8011b54..c9747f8 100755 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -83,7 +83,7 @@ WOPI_ENABLED=${WOPI_ENABLED:-false} GENERATE_FONTS=${GENERATE_FONTS:-true} -if [[ ${PRODUCT_NAME} == "documentserver" ]]; then +if [[ ${PRODUCT_NAME}${PRODUCT_EDITION} == "documentserver" ]]; then REDIS_ENABLED=false else REDIS_ENABLED=true