SMB - External Storage (Networkshare) Sync

Unfortunately, for these parameters we don’t have environment variables that can be set to run the container.
As an alternative, you can mount a custom config to the container. Create on host config with name local-production-linux.json and add desired parameters and their values. Note that the whole object structure for the necessary parameters must be retained.
In your case parameters are:

{
        "services": {
                "CoAuthoring": {
                        "expire": {
                                "lastsave": 10,
                                "forcesave": 10,
                                "saved": 10,
                                "documentsCron": "* * * * *",
                                "files": 10,
                                "filesCron": "* * * * * *"
                        }
                }
        }
}

After that mount this config to the container. For example, to run a container with docker run example of the command will look like this:

docker run -i -t -d -p 80:80 --restart=always \
-v <absolute_path_to_config>/local-production-linux.json:/etc/onlyoffice/documentserver/local-production-linux.json onlyoffice/documentserver

Please do not mount any of the default configs to the host, it may cause various issues after the update.