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.

104 lines
1.9 KiB

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