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.

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