data.yml 2.4 KB

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