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.

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