COMMON_OFFICE_PREVIEW_ENABLED: "true"
COMMON_OFFICE_PREVIEW_SERVICE: "onlyOffice"
ATLAS_OFFICE_PREVIEW_DOMAIN: "http://ip+端口"
docker run --name onlyoffice -i -t -d \
--entrypoint bash \
--privileged --restart=always \
-e WOPI_ENABLED=true \
-e USE_UNAUTHORIZED_STORAGE=true \
-e JWT_ENABLED=false \
-e ALLOW_META_IP_ADDRESS=true \
-e ALLOW_PRIVATE_IP_ADDRESS=true \
-e DEBUG=* \
-p 30065:80 \
onlyoffice/documentserver:8.0.1 -c 'set -eux; ulimit -n 65535 \
&& ulimit -a \
&& bash -x /app/ds/run-document-server.sh'