How to force set CoAuthoring autoAssembly to true by default?

Post Reply
Murz
Posts: 1
Joined: Fri Feb 07, 2020 4:37 am

How to force set CoAuthoring autoAssembly to true by default?

Post by Murz » Mon Feb 17, 2020 6:02 am

I configure Onlyoffice server in Docker container with Seafile integration via manual: https://download.seafile.com/published/ ... _office.md and have problems with auto saving documents using default settings. Proposed solution is enable autosave (autoAssembly) at interval via editing /etc/onlyoffice/documentserver/local.json:

Code: Select all

{
   {
    "services": {
        "CoAuthoring": {
            "autoAssembly": {
                "enable": true,
                "interval": "5m"
            }
        }
    }
}
This works well, but the problem that after each restart "local.json" file is overwritten. How can I force set CoAuthoring autoAssembly values in Onlyoffice server, for work without modifying file manually at each restart?

Carl
Posts: 316
Joined: Thu Apr 12, 2018 10:00 am

Re: How to force set CoAuthoring autoAssembly to true by default?

Post by Carl » Mon Feb 17, 2020 2:14 pm

Hello,

You can create a new config file with this parameter inside the container /etc/onlyoffice/documentserver/local-production-linux.json and mount it on host:

Code: Select all

-v ./local-production-linux.json:/etc/onlyoffice/documentserver/local-production-linux.json
This way you will not lose the parameter value on container restart.

Post Reply