data.yml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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. auth:
  45. autoLogin: false
  46. enforce2FA: false
  47. hideLocal: false
  48. loginBgUrl: ''
  49. audience: 'urn:wiki.js'
  50. tokenExpiration: '30m'
  51. tokenRenewal: '14d'
  52. security:
  53. corsMode: 'OFF'
  54. corsConfig: ''
  55. enforceCsp: false
  56. trustProxy: false
  57. enforceHsts: false
  58. disallowFloc: true
  59. hstsDuration: 0
  60. cspDirectives: ''
  61. uploadScanSVG: true
  62. disallowIframe: true
  63. uploadMaxFiles: 20
  64. authJwtAudience: 'urn:wiki.js'
  65. authJwtExpiration: '30m'
  66. uploadMaxFileSize: 10485760
  67. forceAssetDownload: true
  68. disallowOpenRedirect: true
  69. authJwtRenewablePeriod: '14d'
  70. enforceSameOriginReferrerPolicy: true
  71. flags:
  72. experimental: false
  73. authDebug: false
  74. sqlLog: false
  75. userDefaults:
  76. timezone: 'America/New_York'
  77. dateFormat: 'YYYY-MM-DD'
  78. timeFormat: '12h'
  79. # System defaults
  80. channel: NEXT
  81. cors:
  82. credentials: true
  83. maxAge: 600
  84. methods: 'GET,POST'
  85. origin: true
  86. maintainerEmail: security@requarks.io
  87. tsDictMappings:
  88. ar: arabic
  89. hy: armenian
  90. eu: basque
  91. ca: catalan
  92. da: danish
  93. nl: dutch
  94. en: english
  95. fi: finnish
  96. fr: french
  97. de: german
  98. el: greek
  99. hi: hindi
  100. hu: hungarian
  101. id: indonesian
  102. ga: irish
  103. it: italian
  104. lt: lithuanian
  105. ne: nepali
  106. no: norwegian
  107. pt: portuguese
  108. ro: romanian
  109. ru: russian
  110. sr: serbian
  111. es: spanish
  112. sv: swedish
  113. ta: tamil
  114. tr: turkish
  115. yi: yiddish
  116. editors:
  117. asciidoc:
  118. contentType: html
  119. config: {}
  120. markdown:
  121. contentType: markdown
  122. config:
  123. allowHTML: true
  124. linkify: true
  125. lineBreaks: true
  126. typographer: false
  127. underline: false
  128. tabWidth: 2
  129. latexEngine: katex
  130. kroki: true
  131. plantuml: true
  132. multimdTable: true
  133. wysiwyg:
  134. contentType: html
  135. config: {}
  136. systemIds:
  137. localAuthId: '5a528c4c-0a82-4ad2-96a5-2b23811e6588'
  138. guestsGroupId: '10000000-0000-4000-8000-000000000001'
  139. usersGroupId: '20000000-0000-4000-8000-000000000002'
  140. groups:
  141. defaultPermissions:
  142. - 'read:pages'
  143. - 'read:assets'
  144. - 'read:comments'
  145. - 'write:comments'
  146. defaultRules:
  147. - name: Default Rule
  148. mode: ALLOW
  149. match: START
  150. roles:
  151. - 'read:pages'
  152. - 'read:assets'
  153. - 'read:comments'
  154. - 'write:comments'
  155. path: ''
  156. locales: []
  157. sites: []