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.

159 lines
3.0 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. logoUrl: https://static.requarks.io/logo/wikijs-butterfly.svg
  48. mail:
  49. host: ''
  50. secure: true
  51. verifySSL: true
  52. nav:
  53. mode: 'MIXED'
  54. theming:
  55. theme: 'default'
  56. iconset: 'md'
  57. darkMode: false
  58. auth:
  59. autoLogin: false
  60. enforce2FA: false
  61. hideLocal: false
  62. loginBgUrl: ''
  63. audience: 'urn:wiki.js'
  64. tokenExpiration: '30m'
  65. tokenRenewal: '14d'
  66. features:
  67. featurePageRatings: true
  68. featurePageComments: true
  69. featurePersonalWikis: true
  70. security:
  71. securityOpenRedirect: true
  72. securityIframe: true
  73. securityReferrerPolicy: true
  74. securityTrustProxy: true
  75. securitySRI: true
  76. securityHSTS: false
  77. securityHSTSDuration: 300
  78. securityCSP: false
  79. securityCSPDirectives: ''
  80. server:
  81. sslRedir: false
  82. uploads:
  83. maxFileSize: 5242880
  84. maxFiles: 10
  85. scanSVG: true
  86. forceDownload: true
  87. flags:
  88. ldapdebug: false
  89. sqllog: false
  90. # System defaults
  91. channel: STABLE
  92. setup: false
  93. dataPath: ./data
  94. cors:
  95. credentials: true
  96. maxAge: 600
  97. methods: 'GET,POST'
  98. origin: true
  99. search:
  100. maxHits: 100
  101. maintainerEmail: security@requarks.io
  102. localeNamespaces:
  103. - admin
  104. - auth
  105. - common
  106. jobs:
  107. purgeUploads:
  108. onInit: true
  109. schedule: PT15M
  110. offlineSkip: false
  111. repeat: true
  112. syncGraphLocales:
  113. onInit: true
  114. schedule: P1D
  115. offlineSkip: true
  116. repeat: true
  117. syncGraphUpdates:
  118. onInit: true
  119. schedule: P1D
  120. offlineSkip: true
  121. repeat: true
  122. rebuildTree:
  123. onInit: true
  124. offlineSkip: false
  125. repeat: false
  126. immediate: true
  127. worker: true
  128. groups:
  129. defaultPermissions:
  130. - 'read:pages'
  131. - 'read:assets'
  132. - 'read:comments'
  133. - 'write:comments'
  134. defaultPageRules:
  135. - id: default
  136. deny: false
  137. match: START
  138. roles:
  139. - 'read:pages'
  140. - 'read:assets'
  141. - 'read:comments'
  142. - 'write:comments'
  143. path: ''
  144. locales: []
  145. reservedPaths:
  146. - login
  147. - logout
  148. - register
  149. - verify
  150. - favicons
  151. - fonts
  152. - img
  153. - js
  154. - svg
  155. pageExtensions:
  156. - md
  157. - html
  158. - txt
  159. # ---------------------------------