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.

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