the index of the onlineoffice website: https://helpcenter.onlyoffice.com/installation/docs-community-install-docker.aspx
pull the docker image of onlyoffice
shell
sudo docker pull onlyoffice/documentserver
Setting the log, Data,jwt etc
shell
sudo docker run -i -t -d -p 8700:80 --restart=always \
-v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice \
-v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \
-v /app/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice \
-v /app/onlyoffice/DocumentServer/db:/var/lib/postgresql -e JWT_SECRET=my_jwt_secret onlyoffice/documentserver
I will run a Spring Demo project to request the remote OnlyOffice document server.
Link: run spring demo project