Configuring OnlyOffice
You can create a connection between your OnlyOffice and LogicalDOC. This way, you will be able to use OnlyOffice to edit and create documents stored inside LogicalDOC. OnlyOffice can be used in several ways online and on-premises but at the time of writing LogicalDOC has been tested against OnlyOffice Document Server for Docker and this guide is based on the official tutorial.
1
Running Docker Image
In a minimum sized machine with Docker version 1.9.0 or later, use this command if to install OnlyOffice Document Server:
sudo docker run -i -t -d -p 8084:80 --restart=always -e JWT_SECRET=my_jwt_secret onlyoffice/documentserver
This command starts the Docker container with standard settings and set up the working port to 8084, feel free to change it at your will.
2
Connecting LogicalDOC with OnlyOffice
The integration with OnlyOffice is implemented by a proper format converter that must be properly enabled and configured.
Go to Administration > Import and Export > Format Converters, and here locate the converter called OnlyOfficeConverter, enable it and expand its configuration to accommodate the connection parameters:
- url: the address to communicate with your OnlyOffice Document Server
- security.key: in case of standard setup, you can use my_jwt_secret
- callback: the address that OnlyOffice Document Server will use to call your LogicalDOC
Then press on Save and you’re done.