data.yml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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: 0
  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. securityHSTS: false
  49. securityHSTSDuration: 300
  50. securityCSP: false
  51. securityCSPDirectives: ''
  52. flags:
  53. ldapdebug: false
  54. sqllog: false
  55. # System defaults
  56. channel: BETA
  57. setup: false
  58. paths:
  59. content: ./content
  60. data: ./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. syncGraphLocales:
  78. onInit: true
  79. schedule: P1D
  80. offlineSkip: true
  81. syncGraphUpdates:
  82. onInit: true
  83. schedule: P1D
  84. offlineSkip: true
  85. groups:
  86. defaultPermissions:
  87. - 'read:pages'
  88. - 'read:assets'
  89. - 'read:comments'
  90. - 'write:comments'
  91. defaultPageRules:
  92. - id: default
  93. deny: false
  94. match: START
  95. roles:
  96. - 'read:pages'
  97. - 'read:assets'
  98. - 'read:comments'
  99. - 'write:comments'
  100. path: ''
  101. locales: []
  102. telemetry:
  103. BUGSNAG_ID: 'bb4b324d0675bcbba10025617fd2cec8'
  104. BUGSNAG_REMOTE: 'https://notify.bugsnag.com'
  105. GA_ID: 'UA-9094100-7'
  106. GA_REMOTE: 'https://www.google-analytics.com/batch'
  107. reservedPaths:
  108. - login
  109. - logout
  110. - register
  111. - verify
  112. - favicons
  113. - fonts
  114. - img
  115. - js
  116. - svg
  117. pageExtensions:
  118. - md
  119. - html
  120. - txt
  121. # ---------------------------------