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.

84 lines
2.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: 3000
  10. # ---------------------------------------------------------------------
  11. # Database
  12. # ---------------------------------------------------------------------
  13. # Supported Database Engines:
  14. # - postgres = PostgreSQL 9.5 or later
  15. # - mysql = MySQL 5.7.8
  16. # - mariadb = MariaDB 10.2.7 or later
  17. # - mssql = MS SQL Server 2012 or later
  18. # - sqlite = SQLite 3.9 or later
  19. db:
  20. type: postgres
  21. # PostgreSQL / MySQL / MariaDB / MS SQL Server only:
  22. host: localhost
  23. port: 5432
  24. user: wikijs
  25. pass: wikijsrocks
  26. db: wiki
  27. # SQLite only:
  28. storage: path/to/database.sqlite
  29. # ---------------------------------------------------------------------
  30. # Redis
  31. # ---------------------------------------------------------------------
  32. # Redis 3.2 or later required
  33. redis:
  34. host: localhost
  35. port: 6379
  36. db: 0
  37. password: null
  38. #######################################################################
  39. # ADVANCED OPTIONS #
  40. #######################################################################
  41. # Do not change unless you know what you are doing!
  42. # ---------------------------------------------------------------------
  43. # SSL/TLS Settings
  44. # ---------------------------------------------------------------------
  45. # Consider using a reverse proxy (e.g. nginx) if you require more
  46. # advanced options than those provided below.
  47. ssl:
  48. enabled: false
  49. # Certificate format, either 'pem' or 'pfx':
  50. format: pem
  51. # Using PEM format:
  52. key: path/to/key.pem
  53. cert: path/to/cert.pem
  54. # Using PFX format:
  55. pfx: path/to/cert.pfx
  56. # Passphrase when using encrypted PEM / PFX keys (default: null):
  57. passphrase: null
  58. # Diffie Hellman parameters, with key length being greater or equal
  59. # to 1024 bits (default: null):
  60. dhparam: null
  61. # ---------------------------------------------------------------------
  62. # IP address the server should listen to
  63. # ---------------------------------------------------------------------
  64. # Leave 0.0.0.0 for all interfaces
  65. bindIP: 0.0.0.0
  66. # ---------------------------------------------------------------------
  67. # Log Level
  68. # ---------------------------------------------------------------------
  69. # Possible values: error, warn, info (default), verbose, debug, silly
  70. logLevel: info