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.

72 lines
2.1 KiB

  1. #######################################################################
  2. # Wiki.js - CONFIGURATION #
  3. #######################################################################
  4. # Full documentation + examples:
  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. # PostgreSQL 9.5 or later required
  20. db:
  21. host: localhost
  22. port: 5432
  23. user: wikijs
  24. pass: wikijsrocks
  25. db: wiki
  26. # ---------------------------------------------------------------------
  27. # Redis
  28. # ---------------------------------------------------------------------
  29. # Redis 3.2 or later required
  30. redis:
  31. host: localhost
  32. port: 6379
  33. db: 0
  34. password: null
  35. # ---------------------------------------------------------------------
  36. # Log Level
  37. # ---------------------------------------------------------------------
  38. # Possible values: error, warn, info (default), verbose, debug, silly
  39. logLevel: info
  40. # ---------------------------------------------------------------------
  41. # Configuration Mode
  42. # ---------------------------------------------------------------------
  43. # Possible values: auto (default), file, setup
  44. configMode: auto
  45. # ---------------------------------------------------------------------
  46. # Background Workers
  47. # ---------------------------------------------------------------------
  48. # Leave 0 for auto based on CPU cores
  49. workers: 0
  50. # ---------------------------------------------------------------------
  51. # High Availability
  52. # ---------------------------------------------------------------------
  53. # Read the docs BEFORE changing these settings!
  54. ha:
  55. node: primary
  56. readonly: false