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.

169 lines
3.4 KiB

5 years ago
5 years ago
  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. type: postgres
  12. host: localhost
  13. port: 5432
  14. user: wikijs
  15. pass: wikijsrocks
  16. db: wiki
  17. ssl: false
  18. storage: ./db.sqlite
  19. sslOptions:
  20. auto: true
  21. ssl:
  22. enabled: false
  23. pool:
  24. min: 1
  25. bindIP: 0.0.0.0
  26. logLevel: info
  27. logFormat: default
  28. offline: false
  29. ha: false
  30. bodyParserLimit: 5mb
  31. # DB defaults
  32. api:
  33. isEnabled: false
  34. graphEndpoint: 'https://graph.requarks.io'
  35. lang:
  36. code: en
  37. autoUpdate: true
  38. namespaces: []
  39. namespacing: false
  40. rtl: false
  41. telemetry:
  42. clientId: ''
  43. isEnabled: false
  44. title: Wiki.js
  45. company: ''
  46. contentLicense: ''
  47. footerOverride: ''
  48. logoUrl: https://static.requarks.io/logo/wikijs-butterfly.svg
  49. pageExtensions:
  50. - md
  51. - html
  52. - txt
  53. mail:
  54. host: ''
  55. secure: true
  56. verifySSL: true
  57. nav:
  58. mode: 'MIXED'
  59. theming:
  60. theme: 'default'
  61. iconset: 'md'
  62. darkMode: false
  63. tocPosition: 'left'
  64. auth:
  65. autoLogin: false
  66. enforce2FA: false
  67. hideLocal: false
  68. loginBgUrl: ''
  69. audience: 'urn:wiki.js'
  70. tokenExpiration: '30m'
  71. tokenRenewal: '14d'
  72. editShortcuts:
  73. editFab: true
  74. editMenuBar: false
  75. editMenuBtn: true
  76. editMenuExternalBtn: true
  77. editMenuExternalName: 'GitHub'
  78. editMenuExternalIcon: 'mdi-github'
  79. editMenuExternalUrl: 'https://github.com/org/repo/blob/main/{filename}'
  80. features:
  81. featurePageRatings: true
  82. featurePageComments: true
  83. featurePersonalWikis: true
  84. security:
  85. securityOpenRedirect: true
  86. securityIframe: true
  87. securityReferrerPolicy: true
  88. securityTrustProxy: false
  89. securitySRI: true
  90. securityHSTS: false
  91. securityHSTSDuration: 300
  92. securityCSP: false
  93. securityCSPDirectives: ''
  94. server:
  95. sslRedir: false
  96. uploads:
  97. maxFileSize: 5242880
  98. maxFiles: 10
  99. scanSVG: true
  100. forceDownload: true
  101. flags:
  102. ldapdebug: false
  103. sqllog: false
  104. # System defaults
  105. channel: STABLE
  106. setup: false
  107. dataPath: ./data
  108. cors:
  109. credentials: true
  110. maxAge: 600
  111. methods: 'GET,POST'
  112. origin: true
  113. search:
  114. maxHits: 100
  115. maintainerEmail: security@requarks.io
  116. localeNamespaces:
  117. - admin
  118. - auth
  119. - common
  120. jobs:
  121. purgeUploads:
  122. onInit: true
  123. schedule: PT15M
  124. offlineSkip: false
  125. repeat: true
  126. syncGraphLocales:
  127. onInit: true
  128. schedule: P1D
  129. offlineSkip: true
  130. repeat: true
  131. syncGraphUpdates:
  132. onInit: true
  133. schedule: P1D
  134. offlineSkip: true
  135. repeat: true
  136. rebuildTree:
  137. onInit: true
  138. offlineSkip: false
  139. repeat: false
  140. immediate: true
  141. worker: true
  142. groups:
  143. defaultPermissions:
  144. - 'read:pages'
  145. - 'read:assets'
  146. - 'read:comments'
  147. - 'write:comments'
  148. defaultPageRules:
  149. - id: default
  150. deny: false
  151. match: START
  152. roles:
  153. - 'read:pages'
  154. - 'read:assets'
  155. - 'read:comments'
  156. - 'write:comments'
  157. path: ''
  158. locales: []
  159. reservedPaths:
  160. - login
  161. - logout
  162. - register
  163. - verify
  164. - favicons
  165. - fonts
  166. - img
  167. - js
  168. - svg
  169. # ---------------------------------