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.

152 lines
3.0 KiB

6 years ago
6 years ago
6 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. features:
  57. featurePageRatings: true
  58. featurePageComments: true
  59. featurePersonalWikis: true
  60. security:
  61. securityOpenRedirect: true
  62. securityIframe: true
  63. securityReferrerPolicy: true
  64. securityTrustProxy: true
  65. securitySRI: true
  66. securityHSTS: false
  67. securityHSTSDuration: 300
  68. securityCSP: false
  69. securityCSPDirectives: ''
  70. server:
  71. sslRedir: false
  72. uploads:
  73. maxFileSize: 5242880
  74. maxFiles: 10
  75. flags:
  76. ldapdebug: false
  77. sqllog: false
  78. # System defaults
  79. channel: STABLE
  80. setup: false
  81. dataPath: ./data
  82. cors:
  83. credentials: true
  84. maxAge: 600
  85. methods: 'GET,POST'
  86. origin: true
  87. search:
  88. maxHits: 100
  89. maintainerEmail: security@requarks.io
  90. localeNamespaces:
  91. - admin
  92. - auth
  93. - common
  94. jobs:
  95. purgeUploads:
  96. onInit: true
  97. schedule: PT15M
  98. offlineSkip: false
  99. repeat: true
  100. syncGraphLocales:
  101. onInit: true
  102. schedule: P1D
  103. offlineSkip: true
  104. repeat: true
  105. syncGraphUpdates:
  106. onInit: true
  107. schedule: P1D
  108. offlineSkip: true
  109. repeat: true
  110. rebuildTree:
  111. onInit: true
  112. offlineSkip: false
  113. repeat: false
  114. immediate: true
  115. worker: true
  116. groups:
  117. defaultPermissions:
  118. - 'read:pages'
  119. - 'read:assets'
  120. - 'read:comments'
  121. - 'write:comments'
  122. defaultPageRules:
  123. - id: default
  124. deny: false
  125. match: START
  126. roles:
  127. - 'read:pages'
  128. - 'read:assets'
  129. - 'read:comments'
  130. - 'write:comments'
  131. path: ''
  132. locales: []
  133. telemetry:
  134. BUGSNAG_ID: 'bb4b324d0675bcbba10025617fd2cec8'
  135. BUGSNAG_REMOTE: 'https://notify.bugsnag.com'
  136. GA_ID: 'UA-9094100-7'
  137. GA_REMOTE: 'https://www.google-analytics.com/batch'
  138. reservedPaths:
  139. - login
  140. - logout
  141. - register
  142. - verify
  143. - favicons
  144. - fonts
  145. - img
  146. - js
  147. - svg
  148. pageExtensions:
  149. - md
  150. - html
  151. - txt
  152. # ---------------------------------