data.yml 2.1 KB

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