Playbooks to a new Lilik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

280 lines
12 KiB

  1. {
  2. "statsd": {
  3. "useMetrics": false,
  4. "host": "localhost",
  5. "port": "8125",
  6. "prefix": "ds."
  7. },
  8. "log": {
  9. "filePath": "",
  10. "options": {
  11. "replaceConsole": true
  12. }
  13. },
  14. "queue": {
  15. "type": "rabbitmq",
  16. "visibilityTimeout": 300,
  17. "retentionPeriod": 900
  18. },
  19. "storage": {
  20. "name": "storage-fs",
  21. "fs": {
  22. "folderPath": "",
  23. "urlExpires": 900,
  24. "secretString": "verysecretstring"
  25. },
  26. "region": "",
  27. "endpoint": "http://localhost/s3",
  28. "bucketName": "cache",
  29. "storageFolderName": "files",
  30. "urlExpires": 604800,
  31. "accessKeyId": "AKID",
  32. "secretAccessKey": "SECRET",
  33. "useRequestToGetUrl": false,
  34. "useSignedUrl": false,
  35. "externalHost": ""
  36. },
  37. "rabbitmq": {
  38. "url": "amqp://guest:guest@localhost:5672",
  39. "socketOptions": {},
  40. "exchangepubsub": "ds.pubsub",
  41. "queueconverttask": "ds.converttask",
  42. "queueconvertresponse": "ds.convertresponse",
  43. "exchangeconvertdead": "ds.exchangeconvertdead",
  44. "queueconvertdead": "ds.convertdead",
  45. "queuedelayed": "ds.delayed"
  46. },
  47. "activemq": {
  48. "connectOptions": {
  49. "port": 5672,
  50. "host": "localhost",
  51. "name": "admin",
  52. "reconnect": false
  53. },
  54. "queueconverttask": "ds.converttask",
  55. "queueconvertresponse": "ds.convertresponse",
  56. "queueconvertdead": "ActiveMQ.DLQ",
  57. "queuedelayed": "ds.delayed",
  58. "topicpubsub": "ds.pubsub"
  59. },
  60. "dnscache": {
  61. "enable" : true,
  62. "ttl" : 300,
  63. "cachesize" : 1000
  64. },
  65. "services": {
  66. "CoAuthoring": {
  67. "server": {
  68. "port": 8000,
  69. "workerpercpu": 1,
  70. "mode": "development",
  71. "limits_tempfile_upload": 104857600,
  72. "limits_image_size": 26214400,
  73. "limits_image_download_timeout": {
  74. "connectionAndInactivity": "10s",
  75. "wholeCycle": "2m"
  76. },
  77. "callbackRequestTimeout": {
  78. "wholeCycle": "2m"
  79. },
  80. "healthcheckfilepath": "../public/healthcheck.docx",
  81. "savetimeoutdelay": 5000,
  82. "edit_singleton": false,
  83. "forgottenfiles": "forgotten",
  84. "forgottenfilesname": "output",
  85. "maxRequestChanges": 20000,
  86. "openProtectedFile": true,
  87. "editorDataStorage": "editorDataMemory"
  88. },
  89. "requestDefaults": {
  90. "headers": {
  91. "User-Agent": "Node.js/6.13"
  92. },
  93. "rejectUnauthorized": true
  94. },
  95. "autoAssembly": {
  96. "enable": false,
  97. "interval": "5m",
  98. "step": "1m"
  99. },
  100. "utils": {
  101. "utils_common_fontdir": "null",
  102. "utils_fonts_search_patterns": "*.ttf;*.ttc;*.otf",
  103. "resource_expires": 31536000,
  104. "limits_image_types_upload": "jpg;png;gif;bmp"
  105. },
  106. "sql": {
  107. "type": "postgres",
  108. "tableChanges": "doc_changes",
  109. "tableResult": "task_result",
  110. "dbHost": "/var/run/postgresql",
  111. "dbPort": 5432,
  112. "dbName": "onlyoffice",
  113. "dbUser": "onlyoffice",
  114. "dbPass": "",
  115. "charset": "utf8",
  116. "connectionlimit": 10,
  117. "max_allowed_packet": 1048575,
  118. "pgPoolExtraOptions": {}
  119. },
  120. "redis": {
  121. "name": "redis",
  122. "prefix": "ds:",
  123. "host": "localhost",
  124. "port": 6379,
  125. "options": {}
  126. },
  127. "pubsub": {
  128. "maxChanges": 1000
  129. },
  130. "expire": {
  131. "saveLock": 60,
  132. "presence": 300,
  133. "locks": 604800,
  134. "changeindex": 86400,
  135. "lockDoc": 30,
  136. "message": 86400,
  137. "lastsave": 604800,
  138. "forcesave": 604800,
  139. "saved": 3600,
  140. "documentsCron": "0 */2 * * * *",
  141. "files": 86400,
  142. "filesCron": "00 00 */1 * * *",
  143. "filesremovedatonce": 100,
  144. "sessionidle": "0",
  145. "sessionabsolute": "30d",
  146. "sessionclosecommand": "2m",
  147. "pemStdTTL": "1h",
  148. "pemCheckPeriod": "10m",
  149. "updateVersionStatus": "5m"
  150. },
  151. "ipfilter": {
  152. "rules": [{"address": "*", "allowed": true}],
  153. "useforrequest": false,
  154. "errorcode": 403
  155. },
  156. "secret": {
  157. "browser": {"string": "secret", "file": "", "tenants": {}},
  158. "inbox": {"string": "secret", "file": "", "tenants": {}},
  159. "outbox": {"string": "secret", "file": ""},
  160. "session": {"string": "secret", "file": ""}
  161. },
  162. "token": {
  163. "enable": {
  164. "browser": false,
  165. "request": {
  166. "inbox": false,
  167. "outbox": false
  168. }
  169. },
  170. "browser": {
  171. "secretFromInbox": true
  172. },
  173. "inbox": {
  174. "header": "Authorization",
  175. "prefix": "Bearer ",
  176. "inBody": false
  177. },
  178. "outbox": {
  179. "header": "Authorization",
  180. "prefix": "Bearer ",
  181. "algorithm": "HS256",
  182. "expires": "5m",
  183. "inBody": false
  184. },
  185. "session": {
  186. "algorithm": "HS256",
  187. "expires": "30d"
  188. }
  189. },
  190. "plugins": {
  191. "uri": "/sdkjs-plugins",
  192. "autostart": []
  193. },
  194. "editor":{
  195. "spellcheckerUrl": "/spellchecker",
  196. "reconnection":{
  197. "attempts": 50,
  198. "delay": "2s"
  199. },
  200. "websocketMaxPayloadSize": "1.5MB"
  201. },
  202. "sockjs": {
  203. "sockjs_url": "",
  204. "websocket": true
  205. },
  206. "callbackBackoffOptions": {
  207. "retries": 0,
  208. "timeout":{
  209. "factor": 2,
  210. "minTimeout": 1000,
  211. "maxTimeout": 2147483647,
  212. "randomize": false
  213. },
  214. "httpStatus": "429,500-599"
  215. }
  216. }
  217. },
  218. "license" : {
  219. "license_file": "",
  220. "warning_limit_percents": 70,
  221. "packageType": 0
  222. },
  223. "FileConverter": {
  224. "converter": {
  225. "maxDownloadBytes": 104857600,
  226. "downloadTimeout": {
  227. "connectionAndInactivity": "10s",
  228. "wholeCycle": "2m"
  229. },
  230. "downloadAttemptMaxCount": 3,
  231. "downloadAttemptDelay": 1000,
  232. "maxprocesscount": 1,
  233. "fontDir": "null",
  234. "presentationThemesDir": "null",
  235. "x2tPath": "null",
  236. "docbuilderPath": "null",
  237. "docbuilderAllFontsPath": "null",
  238. "args": "",
  239. "spawnOptions": {},
  240. "errorfiles": "",
  241. "streamWriterBufferSize": 8388608,
  242. "maxRedeliveredCount": 2,
  243. "inputLimits": [
  244. {
  245. "type": "docx;dotx;docm;dotm",
  246. "zip": {
  247. "uncompressed": "50MB",
  248. "template": "*.xml"
  249. }
  250. },
  251. {
  252. "type": "xlsx;xltx;xlsm;xltm",
  253. "zip": {
  254. "uncompressed": "300MB",
  255. "template": "*.xml"
  256. }
  257. },
  258. {
  259. "type": "pptx;ppsx;potx;pptm;ppsm;potm",
  260. "zip": {
  261. "uncompressed": "50MB",
  262. "template": "*.xml"
  263. }
  264. }
  265. ]
  266. }
  267. },
  268. "FileStorage": {
  269. "host": "",
  270. "port": 4567,
  271. "directory": "",
  272. "silent": true
  273. },
  274. "SpellChecker": {
  275. "server": {
  276. "port": 8080,
  277. "mode": "development"
  278. }
  279. }
  280. }