data.yml 2.5 KB

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