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.

57 lines
1.7 KiB

  1. #######################################################################
  2. # Wiki.js - CONFIGURATION #
  3. #######################################################################
  4. # Full documentation + examples:
  5. # https://docs.requarks.io/wiki/install
  6. # ---------------------------------------------------------------------
  7. # Port the server should listen to
  8. # ---------------------------------------------------------------------
  9. port: 80
  10. # ---------------------------------------------------------------------
  11. # IP address the server should listen to
  12. # ---------------------------------------------------------------------
  13. # Do not change unless you know what you are doing!
  14. bindIP: 0.0.0.0
  15. # ---------------------------------------------------------------------
  16. # Database
  17. # ---------------------------------------------------------------------
  18. # Supported Database Engines:
  19. # - postgres = PostgreSQL 9.5 or later
  20. # - mysql = MySQL 5.7.8
  21. # - mariadb = MariaDB 10.2.7 or later
  22. # - mssql = MS SQL Server 2012 or later
  23. # - sqlite = SQLite 3.9 or later
  24. db:
  25. type: postgres
  26. # PostgreSQL / MySQL / MariaDB / MS SQL Server only:
  27. host: localhost
  28. port: 5432
  29. user: wikijs
  30. pass: wikijsrocks
  31. db: wiki
  32. # SQLite only:
  33. storage: path/to/database.sqlite
  34. # ---------------------------------------------------------------------
  35. # Redis
  36. # ---------------------------------------------------------------------
  37. # Redis 3.2 or later required
  38. redis:
  39. host: localhost
  40. port: 6379
  41. db: 0
  42. password: null
  43. # ---------------------------------------------------------------------
  44. # Log Level
  45. # ---------------------------------------------------------------------
  46. # Possible values: error, warn, info (default), verbose, debug, silly
  47. logLevel: info