-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #23
- Loading branch information
Showing
8 changed files
with
807 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
We changed | ||
|
||
"autoAssembly": { | ||
"enable": true, | ||
"interval": "0m", | ||
"step": "0m" | ||
}, | ||
See background information here: https://api.onlyoffice.com/editors/faq/saving | ||
|
||
We activted the configuraiton change via the docker-compose configuration | ||
|
||
|
||
volumes: | ||
- ./configuration/onlyoffice/default.json:/etc/onlyoffice/documentserver/default.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,322 @@ | ||
{ | ||
"statsd": { | ||
"useMetrics": false, | ||
"host": "localhost", | ||
"port": "8125", | ||
"prefix": "ds." | ||
}, | ||
"log": { | ||
"filePath": "", | ||
"options": { | ||
"replaceConsole": true | ||
} | ||
}, | ||
"queue": { | ||
"type": "rabbitmq", | ||
"visibilityTimeout": 300, | ||
"retentionPeriod": 900 | ||
}, | ||
"storage": { | ||
"name": "storage-fs", | ||
"fs": { | ||
"folderPath": "", | ||
"urlExpires": 900, | ||
"secretString": "verysecretstring" | ||
}, | ||
"region": "", | ||
"endpoint": "http://localhost/s3", | ||
"bucketName": "cache", | ||
"storageFolderName": "files", | ||
"urlExpires": 604800, | ||
"accessKeyId": "AKID", | ||
"secretAccessKey": "SECRET", | ||
"sslEnabled": false, | ||
"s3ForcePathStyle": true, | ||
"externalHost": "" | ||
}, | ||
"rabbitmq": { | ||
"url": "amqp://guest:guest@localhost:5672", | ||
"socketOptions": {}, | ||
"exchangepubsub": "ds.pubsub", | ||
"queueconverttask": "ds.converttask", | ||
"queueconvertresponse": "ds.convertresponse", | ||
"exchangeconvertdead": "ds.exchangeconvertdead", | ||
"queueconvertdead": "ds.convertdead", | ||
"queuedelayed": "ds.delayed" | ||
}, | ||
"activemq": { | ||
"connectOptions": { | ||
"port": 5672, | ||
"host": "localhost", | ||
"name": "admin", | ||
"reconnect": false | ||
}, | ||
"queueconverttask": "ds.converttask", | ||
"queueconvertresponse": "ds.convertresponse", | ||
"queueconvertdead": "ActiveMQ.DLQ", | ||
"queuedelayed": "ds.delayed", | ||
"topicpubsub": "ds.pubsub" | ||
}, | ||
"dnscache": { | ||
"enable" : true, | ||
"ttl" : 300, | ||
"cachesize" : 1000 | ||
}, | ||
"openpgpjs": { | ||
"config": { | ||
}, | ||
"encrypt": { | ||
"passwords": ["verysecretstring"] | ||
}, | ||
"decrypt": { | ||
"passwords": ["verysecretstring"] | ||
} | ||
}, | ||
"wopi": { | ||
"enable": false, | ||
"host" : "", | ||
"htmlTemplate" : "../../web-apps/apps/api/wopi", | ||
"wopiZone" : "external-http", | ||
"favIconUrlWord" : "/web-apps/apps/documenteditor/main/resources/img/favicon.ico", | ||
"favIconUrlCell" : "/web-apps/apps/spreadsheeteditor/main/resources/img/favicon.ico", | ||
"favIconUrlSlide" : "/web-apps/apps/presentationeditor/main/resources/img/favicon.ico", | ||
"fileInfoBlockList" : ["FileUrl"], | ||
"wordView": ["pdf", "djvu", "xps", "oxps", "doc", "dotx", "dotm", "dot", "fodt", "ott", "rtf", "mht", "html", "htm", "xml", "epub", "fb2"], | ||
"wordEdit": ["docx", "docm", "docxf", "oform", "odt", "txt"], | ||
"cellView": ["xls", "xlsb", "xltx", "xltm", "xlt", "fods", "ots"], | ||
"cellEdit": ["xlsx", "xlsm", "ods", "csv"], | ||
"slideView": ["ppt", "ppsx", "ppsm", "pps", "potx", "potm", "pot", "fodp", "otp"], | ||
"slideEdit": ["pptx", "pptm", "odp"], | ||
"publicKey": "BgIAAACkAABSU0Ex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DTmodntXJ6/2SXAlnZQhHmHsrPtyG752f+HtyJJbbgiem8cKWDu+DfHybfECgYBbSLo1WiBwgN4nHqZ3E48jgA6le5azLeKOTTpuKKwNFMIhEkj//t7MYn+jhLL0Mf3PSwZU50Vidc1To1IHkbFSGBGIFHFFEzl8QnXEZS4hr/y3o/teezj0c6HAn8nlDRUzRVBEDXWMdV6kCcGpCccTIrqHzpqTY0vV0UkOTQFnDQKBgAxSEhm/gtCYJIMCBe+KBJT9uECV5xDQopTTjsGOkd4306EN2dyPOIlAfwM6K/0qWisa0Ei5i8TbRRuBeTTdLEYLqXCJ7fj5tdD1begBdSVtHQ2WHqzPJSuImTkFi9NXxd1XUyZFM3y6YQvlssSuL7QSxUIEtZHnrJTt3QDd10dj", | ||
"refreshLockInterval": "10m" | ||
}, | ||
"services": { | ||
"CoAuthoring": { | ||
"server": { | ||
"port": 8000, | ||
"workerpercpu": 1, | ||
"mode": "development", | ||
"limits_tempfile_upload": 104857600, | ||
"limits_image_size": 26214400, | ||
"limits_image_download_timeout": { | ||
"connectionAndInactivity": "2m", | ||
"wholeCycle": "2m" | ||
}, | ||
"callbackRequestTimeout": { | ||
"connectionAndInactivity": "10m", | ||
"wholeCycle": "10m" | ||
}, | ||
"healthcheckfilepath": "../public/healthcheck.docx", | ||
"savetimeoutdelay": 5000, | ||
"edit_singleton": false, | ||
"forgottenfiles": "forgotten", | ||
"forgottenfilesname": "output", | ||
"maxRequestChanges": 20000, | ||
"openProtectedFile": true, | ||
"editorDataStorage": "editorDataMemory", | ||
"assemblyFormatAsOrigin": true, | ||
"newFileTemplate" : "../../document-templates/new", | ||
"downloadFileAllowExt": ["pdf"], | ||
"tokenRequiredParams": true | ||
}, | ||
"requestDefaults": { | ||
"headers": { | ||
"User-Agent": "Node.js/6.13", | ||
"Connection": "Keep-Alive" | ||
}, | ||
"gzip": true, | ||
"rejectUnauthorized": true | ||
}, | ||
"autoAssembly": { | ||
"enable": true, | ||
"interval": "0m", | ||
"step": "0m" | ||
}, | ||
"utils": { | ||
"utils_common_fontdir": "null", | ||
"utils_fonts_search_patterns": "*.ttf;*.ttc;*.otf", | ||
"limits_image_types_upload": "jpg;jpeg;jpe;png;gif;bmp" | ||
}, | ||
"sql": { | ||
"type": "postgres", | ||
"tableChanges": "doc_changes", | ||
"tableResult": "task_result", | ||
"dbHost": "localhost", | ||
"dbPort": 5432, | ||
"dbName": "onlyoffice", | ||
"dbUser": "onlyoffice", | ||
"dbPass": "onlyoffice", | ||
"charset": "utf8", | ||
"connectionlimit": 10, | ||
"max_allowed_packet": 1048575, | ||
"pgPoolExtraOptions": {} | ||
}, | ||
"redis": { | ||
"name": "redis", | ||
"prefix": "ds:", | ||
"host": "localhost", | ||
"port": 6379, | ||
"options": {} | ||
}, | ||
"pubsub": { | ||
"maxChanges": 1000 | ||
}, | ||
"expire": { | ||
"saveLock": 60, | ||
"presence": 300, | ||
"locks": 604800, | ||
"changeindex": 86400, | ||
"lockDoc": 30, | ||
"message": 86400, | ||
"lastsave": 604800, | ||
"forcesave": 604800, | ||
"saved": 3600, | ||
"documentsCron": "0 */2 * * * *", | ||
"files": 86400, | ||
"filesCron": "00 00 */1 * * *", | ||
"filesremovedatonce": 100, | ||
"sessionidle": "0", | ||
"sessionabsolute": "30d", | ||
"sessionclosecommand": "2m", | ||
"pemStdTTL": "1h", | ||
"pemCheckPeriod": "10m", | ||
"updateVersionStatus": "5m", | ||
"monthUniqueUsers": "1y" | ||
}, | ||
"ipfilter": { | ||
"rules": [{"address": "*", "allowed": true}], | ||
"useforrequest": false, | ||
"errorcode": 403 | ||
}, | ||
"request-filtering-agent" : { | ||
"allowPrivateIPAddress": true, | ||
"allowMetaIPAddress": true | ||
}, | ||
"secret": { | ||
"browser": {"string": "secret", "file": "", "tenants": {}}, | ||
"inbox": {"string": "secret", "file": "", "tenants": {}}, | ||
"outbox": {"string": "secret", "file": ""}, | ||
"session": {"string": "secret", "file": ""} | ||
}, | ||
"token": { | ||
"enable": { | ||
"browser": false, | ||
"request": { | ||
"inbox": false, | ||
"outbox": false | ||
} | ||
}, | ||
"browser": { | ||
"secretFromInbox": true | ||
}, | ||
"inbox": { | ||
"header": "Authorization", | ||
"prefix": "Bearer ", | ||
"inBody": false | ||
}, | ||
"outbox": { | ||
"header": "Authorization", | ||
"prefix": "Bearer ", | ||
"algorithm": "HS256", | ||
"expires": "5m", | ||
"inBody": false, | ||
"urlExclusionRegex": "" | ||
}, | ||
"session": { | ||
"algorithm": "HS256", | ||
"expires": "30d" | ||
}, | ||
"verifyOptions": { | ||
"clockTolerance": 60 | ||
} | ||
}, | ||
"plugins": { | ||
"uri": "/sdkjs-plugins", | ||
"autostart": [] | ||
}, | ||
"themes": { | ||
"uri": "/web-apps/apps/common/main/resources/themes" | ||
}, | ||
"editor":{ | ||
"spellcheckerUrl": "", | ||
"reconnection":{ | ||
"attempts": 50, | ||
"delay": "2s" | ||
}, | ||
"websocketMaxPayloadSize": "1.5MB" | ||
}, | ||
"sockjs": { | ||
"sockjs_url": "", | ||
"websocket": true | ||
}, | ||
"callbackBackoffOptions": { | ||
"retries": 0, | ||
"timeout":{ | ||
"factor": 2, | ||
"minTimeout": 1000, | ||
"maxTimeout": 2147483647, | ||
"randomize": false | ||
}, | ||
"httpStatus": "429,500-599" | ||
} | ||
} | ||
}, | ||
"license" : { | ||
"license_file": "", | ||
"warning_limit_percents": 70, | ||
"packageType": 0 | ||
}, | ||
"FileConverter": { | ||
"converter": { | ||
"maxDownloadBytes": 104857600, | ||
"downloadTimeout": { | ||
"connectionAndInactivity": "2m", | ||
"wholeCycle": "2m" | ||
}, | ||
"downloadAttemptMaxCount": 3, | ||
"downloadAttemptDelay": 1000, | ||
"maxprocesscount": 1, | ||
"fontDir": "null", | ||
"presentationThemesDir": "null", | ||
"x2tPath": "null", | ||
"docbuilderPath": "null", | ||
"docbuilderAllFontsPath": "null", | ||
"docbuilderCoreFontsPath": "", | ||
"args": "", | ||
"spawnOptions": {}, | ||
"errorfiles": "", | ||
"streamWriterBufferSize": 8388608, | ||
"maxRedeliveredCount": 2, | ||
"inputLimits": [ | ||
{ | ||
"type": "docx;dotx;docm;dotm", | ||
"zip": { | ||
"uncompressed": "50MB", | ||
"template": "*.xml" | ||
} | ||
}, | ||
{ | ||
"type": "xlsx;xltx;xlsm;xltm", | ||
"zip": { | ||
"uncompressed": "300MB", | ||
"template": "*.xml" | ||
} | ||
}, | ||
{ | ||
"type": "pptx;ppsx;potx;pptm;ppsm;potm", | ||
"zip": { | ||
"uncompressed": "50MB", | ||
"template": "*.xml" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.