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.

85 lines
2.9 KiB

  1. #######################################################################
  2. # Wiki.js - CONFIGURATION #
  3. #######################################################################
  4. # Full documentation + examples:
  5. # https://docs-beta.requarks.io/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. # ADVANCED OPTIONS #
  31. #######################################################################
  32. # Do not change unless you know what you are doing!
  33. # ---------------------------------------------------------------------
  34. # Use X-Forwarded-For header
  35. # ---------------------------------------------------------------------
  36. # Enable only if Wiki.js is behind a reverse-proxy (nginx, apache, etc)
  37. # or a cloud proxying services like Cloudflare.
  38. trustProxy: false
  39. # ---------------------------------------------------------------------
  40. # SSL/TLS Settings
  41. # ---------------------------------------------------------------------
  42. # Consider using a reverse proxy (e.g. nginx) if you require more
  43. # advanced options than those provided below.
  44. ssl:
  45. enabled: false
  46. # Certificate format, either 'pem' or 'pfx':
  47. format: pem
  48. # Using PEM format:
  49. key: path/to/key.pem
  50. cert: path/to/cert.pem
  51. # Using PFX format:
  52. pfx: path/to/cert.pfx
  53. # Passphrase when using encrypted PEM / PFX keys (default: null):
  54. passphrase: null
  55. # Diffie Hellman parameters, with key length being greater or equal
  56. # to 1024 bits (default: null):
  57. dhparam: null
  58. # Listen on this HTTP port and redirect all requests to HTTPS.
  59. # Set to false to disable (default: 80):
  60. redirectNonSSLPort: 80
  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