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.

147 lines
2.8 KiB

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