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.

108 lines
2.0 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. bindIP: 0.0.0.0
  23. logLevel: info
  24. uploads:
  25. maxFileSize: 5242880
  26. maxFiles: 10
  27. # DB defaults
  28. graphEndpoint: 'https://graph.requarks.io'
  29. lang:
  30. code: en
  31. autoUpdate: true
  32. namespaces: []
  33. namespacing: false
  34. rtl: false
  35. telemetry:
  36. clientId: ''
  37. isEnabled: false
  38. title: Wiki.js
  39. theming:
  40. theme: 'default'
  41. darkMode: false
  42. flags:
  43. ldapdebug: false
  44. sqllog: false
  45. # System defaults
  46. channel: BETA
  47. setup: false
  48. paths:
  49. content: ./content
  50. data: ./data
  51. cors:
  52. credentials: true
  53. maxAge: 600
  54. methods: 'GET,POST'
  55. origin: true
  56. search:
  57. maxHits: 100
  58. localeNamespaces:
  59. - admin
  60. - auth
  61. - common
  62. jobs:
  63. purgeUploads:
  64. onInit: true
  65. schedule: PT15M
  66. syncGraphLocales:
  67. onInit: true
  68. schedule: P1D
  69. syncGraphUpdates:
  70. onInit: true
  71. schedule: P1D
  72. groups:
  73. defaultPermissions:
  74. - 'read:pages'
  75. - 'read:assets'
  76. - 'read:comments'
  77. - 'write:comments'
  78. defaultPageRules:
  79. - id: default
  80. deny: false
  81. match: START
  82. roles:
  83. - 'read:pages'
  84. - 'read:assets'
  85. - 'read:comments'
  86. - 'write:comments'
  87. path: ''
  88. locales: []
  89. telemetry:
  90. BUGSNAG_ID: 'bb4b324d0675bcbba10025617fd2cec8'
  91. BUGSNAG_REMOTE: 'https://notify.bugsnag.com'
  92. GA_ID: 'UA-9094100-7'
  93. GA_REMOTE: 'https://www.google-analytics.com/batch'
  94. reservedPaths:
  95. - login
  96. - logout
  97. - register
  98. - verify
  99. - favicons
  100. - fonts
  101. - img
  102. - js
  103. - svg
  104. pageExtensions:
  105. - md
  106. - html
  107. - txt
  108. # ---------------------------------