data.yml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. bindIP: 0.0.0.0
  11. db:
  12. type: postgres
  13. host: localhost
  14. port: 5432
  15. user: wikijs
  16. pass: wikijsrocks
  17. db: wiki
  18. storage: ./db.sqlite
  19. redis:
  20. host: localhost
  21. port: 6379
  22. db: 0
  23. password: null
  24. ssl:
  25. enabled: false
  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. # System defaults
  41. setup: false
  42. paths:
  43. content: ./content
  44. data: ./data
  45. cors:
  46. credentials: true
  47. maxAge: 600
  48. methods: 'GET,POST'
  49. origin: true
  50. localeNamespaces:
  51. - admin
  52. - auth
  53. - common
  54. jobs:
  55. fetchGraphLocale:
  56. onInit: false
  57. cron: false
  58. concurrency: 0
  59. purgeUploads:
  60. onInit: true
  61. cron: '*/15 * * * *'
  62. concurrency: 0
  63. renderPage:
  64. onInit: false
  65. cron: false
  66. concurrency: 1
  67. syncGraphLocales:
  68. onInit: true
  69. cron: '0 0 * * *'
  70. concurrency: 0
  71. syncGraphUpdates:
  72. onInit: true
  73. cron: '0 0 * * *'
  74. concurrency: 0
  75. syncStorage:
  76. onInit: false
  77. cron: false
  78. concurrency: 1
  79. groups:
  80. defaultPermissions:
  81. - 'manage:pages'
  82. - 'write:assets'
  83. - 'read:comments'
  84. - 'write:comments'
  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. # ---------------------------------