data.yml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. host: localhost
  12. port: 5432
  13. user: wikijs
  14. pass: wikijsrocks
  15. db: wiki
  16. ssl: false
  17. sslOptions:
  18. auto: true
  19. schemas:
  20. wiki: wiki
  21. scheduler: scheduler
  22. ssl:
  23. enabled: false
  24. pool:
  25. min: 1
  26. bindIP: 0.0.0.0
  27. logLevel: info
  28. logFormat: default
  29. offline: false
  30. dataPath: ./data
  31. bodyParserLimit: 5mb
  32. scheduler:
  33. workers: 3
  34. pollingCheck: 5
  35. scheduledCheck: 300
  36. maxRetries: 2
  37. retryBackoff: 60
  38. historyExpiration: 90000
  39. # DB defaults
  40. api:
  41. isEnabled: false
  42. mail:
  43. host: ''
  44. secure: true
  45. verifySSL: true
  46. auth:
  47. autoLogin: false
  48. enforce2FA: false
  49. hideLocal: false
  50. loginBgUrl: ''
  51. audience: 'urn:wiki.js'
  52. tokenExpiration: '30m'
  53. tokenRenewal: '14d'
  54. security:
  55. corsMode: 'OFF'
  56. corsConfig: ''
  57. enforceCsp: false
  58. trustProxy: false
  59. enforceHsts: false
  60. disallowFloc: true
  61. hstsDuration: 0
  62. cspDirectives: ''
  63. uploadScanSVG: true
  64. disallowIframe: true
  65. uploadMaxFiles: 20
  66. authJwtAudience: 'urn:wiki.js'
  67. authJwtExpiration: '30m'
  68. uploadMaxFileSize: 10485760
  69. forceAssetDownload: true
  70. disallowOpenRedirect: true
  71. authJwtRenewablePeriod: '14d'
  72. enforceSameOriginReferrerPolicy: true
  73. flags:
  74. experimental: false
  75. authDebug: false
  76. sqlLog: false
  77. userDefaults:
  78. timezone: 'America/New_York'
  79. dateFormat: 'YYYY-MM-DD'
  80. timeFormat: '12h'
  81. # System defaults
  82. channel: NEXT
  83. cors:
  84. credentials: true
  85. maxAge: 600
  86. methods: 'GET,POST'
  87. origin: true
  88. search:
  89. maxHits: 100
  90. maintainerEmail: security@requarks.io
  91. editors:
  92. asciidoc:
  93. contentType: html
  94. config: {}
  95. markdown:
  96. contentType: markdown
  97. config:
  98. allowHTML: true
  99. linkify: true
  100. lineBreaks: true
  101. typographer: false
  102. underline: false
  103. tabWidth: 2
  104. latexEngine: katex
  105. kroki: true
  106. plantuml: true
  107. multimdTable: true
  108. wysiwyg:
  109. contentType: html
  110. config: {}
  111. groups:
  112. defaultPermissions:
  113. - 'read:pages'
  114. - 'read:assets'
  115. - 'read:comments'
  116. - 'write:comments'
  117. defaultRules:
  118. - name: Default Rule
  119. mode: ALLOW
  120. match: START
  121. roles:
  122. - 'read:pages'
  123. - 'read:assets'
  124. - 'read:comments'
  125. - 'write:comments'
  126. path: ''
  127. locales: []
  128. sites: []