data.yml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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: STABLE
  59. setup: false
  60. dataPath: ./data
  61. cors:
  62. credentials: true
  63. maxAge: 600
  64. methods: 'GET,POST'
  65. origin: true
  66. search:
  67. maxHits: 100
  68. localeNamespaces:
  69. - admin
  70. - auth
  71. - common
  72. jobs:
  73. purgeUploads:
  74. onInit: true
  75. schedule: PT15M
  76. offlineSkip: false
  77. repeat: true
  78. syncGraphLocales:
  79. onInit: true
  80. schedule: P1D
  81. offlineSkip: true
  82. repeat: true
  83. syncGraphUpdates:
  84. onInit: true
  85. schedule: P1D
  86. offlineSkip: true
  87. repeat: true
  88. rebuildTree:
  89. onInit: true
  90. offlineSkip: false
  91. repeat: false
  92. immediate: true
  93. worker: true
  94. groups:
  95. defaultPermissions:
  96. - 'read:pages'
  97. - 'read:assets'
  98. - 'read:comments'
  99. - 'write:comments'
  100. defaultPageRules:
  101. - id: default
  102. deny: false
  103. match: START
  104. roles:
  105. - 'read:pages'
  106. - 'read:assets'
  107. - 'read:comments'
  108. - 'write:comments'
  109. path: ''
  110. locales: []
  111. telemetry:
  112. BUGSNAG_ID: 'bb4b324d0675bcbba10025617fd2cec8'
  113. BUGSNAG_REMOTE: 'https://notify.bugsnag.com'
  114. GA_ID: 'UA-9094100-7'
  115. GA_REMOTE: 'https://www.google-analytics.com/batch'
  116. reservedPaths:
  117. - login
  118. - logout
  119. - register
  120. - verify
  121. - favicons
  122. - fonts
  123. - img
  124. - js
  125. - svg
  126. pageExtensions:
  127. - md
  128. - html
  129. - txt
  130. # ---------------------------------