data.yml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. # System defaults
  78. channel: NEXT
  79. cors:
  80. credentials: true
  81. maxAge: 600
  82. methods: 'GET,POST'
  83. origin: true
  84. search:
  85. maxHits: 100
  86. maintainerEmail: security@requarks.io
  87. editors:
  88. asciidoc:
  89. contentType: html
  90. config: {}
  91. markdown:
  92. contentType: markdown
  93. config:
  94. allowHTML: true
  95. linkify: true
  96. lineBreaks: true
  97. typographer: false
  98. underline: false
  99. tabWidth: 2
  100. latexEngine: katex
  101. kroki: true
  102. plantuml: true
  103. multimdTable: true
  104. wysiwyg:
  105. contentType: html
  106. config: {}
  107. groups:
  108. defaultPermissions:
  109. - 'read:pages'
  110. - 'read:assets'
  111. - 'read:comments'
  112. - 'write:comments'
  113. defaultRules:
  114. - name: Default Rule
  115. mode: ALLOW
  116. match: START
  117. roles:
  118. - 'read:pages'
  119. - 'read:assets'
  120. - 'read:comments'
  121. - 'write:comments'
  122. path: ''
  123. locales: []
  124. sites: []