You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

114 lines
2.1 KiB

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