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.

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