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.

56 lines
1.6 KiB

  1. #######################################################################
  2. # Wiki.js - CONFIGURATION #
  3. #######################################################################
  4. # Full explanation + examples in the documentation:
  5. # https://docs.requarks.io/wiki/install
  6. # ---------------------------------------------------------------------
  7. # Port the main server should listen to
  8. # ---------------------------------------------------------------------
  9. port: 80
  10. # ---------------------------------------------------------------------
  11. # Data Directories
  12. # ---------------------------------------------------------------------
  13. paths:
  14. repo: ./repo
  15. data: ./data
  16. # ---------------------------------------------------------------------
  17. # Database
  18. # ---------------------------------------------------------------------
  19. db:
  20. host: localhost
  21. port: 5432
  22. user: wikijs
  23. pass: wikijsrocks
  24. db: wiki
  25. # ---------------------------------------------------------------------
  26. # Redis
  27. # ---------------------------------------------------------------------
  28. redis:
  29. host: localhost
  30. port: 6379
  31. db: 0
  32. password: null
  33. # ---------------------------------------------------------------------
  34. # Background Workers
  35. # ---------------------------------------------------------------------
  36. # Leave 0 for auto based on CPU cores
  37. workers: 0
  38. # ---------------------------------------------------------------------
  39. # High Availability
  40. # ---------------------------------------------------------------------
  41. # Read the docs BEFORE changing these settings!
  42. ha:
  43. nodeuid: primary
  44. readonly: false