data.yml 2.7 KB

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