data.yml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. # ---------------------------------
  2. # DO NOT EDIT THIS FILE!
  3. # This is reserved for system use!
  4. # ---------------------------------
  5. name: Wiki.js
  6. defaults:
  7. config:
  8. # File defaults
  9. port: 80
  10. db:
  11. host: localhost
  12. port: 5432
  13. user: wikijs
  14. pass: wikijsrocks
  15. db: wiki
  16. ssl: false
  17. sslOptions:
  18. auto: true
  19. schema: wiki
  20. ssl:
  21. enabled: false
  22. pool:
  23. min: 1
  24. bindIP: 0.0.0.0
  25. logLevel: info
  26. logFormat: default
  27. offline: false
  28. dataPath: ./data
  29. bodyParserLimit: 5mb
  30. scheduler:
  31. workers: 3
  32. pollingCheck: 5
  33. scheduledCheck: 300
  34. maxRetries: 2
  35. retryBackoff: 60
  36. historyExpiration: 90000
  37. # DB defaults
  38. api:
  39. isEnabled: false
  40. mail:
  41. host: ''
  42. secure: true
  43. verifySSL: true
  44. metrics:
  45. isEnabled: false
  46. auth:
  47. autoLogin: false
  48. enforce2FA: false
  49. hideLocal: false
  50. loginBgUrl: ''
  51. audience: 'urn:wiki.js'
  52. tokenExpiration: '30m'
  53. tokenRenewal: '14d'
  54. security:
  55. corsMode: 'OFF'
  56. corsConfig: ''
  57. enforceCsp: false
  58. trustProxy: false
  59. enforceHsts: false
  60. disallowFloc: true
  61. hstsDuration: 0
  62. cspDirectives: ''
  63. uploadScanSVG: true
  64. disallowIframe: true
  65. uploadMaxFiles: 20
  66. authJwtAudience: 'urn:wiki.js'
  67. authJwtExpiration: '30m'
  68. uploadMaxFileSize: 10485760
  69. forceAssetDownload: true
  70. disallowOpenRedirect: true
  71. authJwtRenewablePeriod: '14d'
  72. enforceSameOriginReferrerPolicy: true
  73. flags:
  74. experimental: false
  75. authDebug: false
  76. sqlLog: false
  77. userDefaults:
  78. timezone: 'America/New_York'
  79. dateFormat: 'YYYY-MM-DD'
  80. timeFormat: '12h'
  81. # System defaults
  82. channel: NEXT
  83. cors:
  84. credentials: true
  85. maxAge: 600
  86. methods: 'GET,POST'
  87. origin: true
  88. maintainerEmail: security@requarks.io
  89. tsDictMappings:
  90. ar: arabic
  91. hy: armenian
  92. eu: basque
  93. ca: catalan
  94. da: danish
  95. nl: dutch
  96. en: english
  97. fi: finnish
  98. fr: french
  99. de: german
  100. el: greek
  101. hi: hindi
  102. hu: hungarian
  103. id: indonesian
  104. ga: irish
  105. it: italian
  106. lt: lithuanian
  107. ne: nepali
  108. no: norwegian
  109. pt: portuguese
  110. ro: romanian
  111. ru: russian
  112. sr: serbian
  113. es: spanish
  114. sv: swedish
  115. ta: tamil
  116. tr: turkish
  117. yi: yiddish
  118. editors:
  119. asciidoc:
  120. contentType: html
  121. config: {}
  122. markdown:
  123. contentType: markdown
  124. config:
  125. allowHTML: true
  126. linkify: true
  127. lineBreaks: true
  128. typographer: false
  129. underline: false
  130. tabWidth: 2
  131. latexEngine: katex
  132. kroki: true
  133. plantuml: true
  134. multimdTable: true
  135. wysiwyg:
  136. contentType: html
  137. config: {}
  138. systemIds:
  139. localAuthId: '5a528c4c-0a82-4ad2-96a5-2b23811e6588'
  140. guestsGroupId: '10000000-0000-4000-8000-000000000001'
  141. usersGroupId: '20000000-0000-4000-8000-000000000002'
  142. groups:
  143. defaultPermissions:
  144. - 'read:pages'
  145. - 'read:assets'
  146. - 'read:comments'
  147. - 'write:comments'
  148. defaultRules:
  149. - name: Default Rule
  150. mode: ALLOW
  151. match: START
  152. roles:
  153. - 'read:pages'
  154. - 'read:assets'
  155. - 'read:comments'
  156. - 'write:comments'
  157. path: ''
  158. locales: []
  159. sites: []