service configurations for desearch.cc
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.

123 lines
4.2 KiB

  1. #######################################################################
  2. # Wiki.js - CONFIGURATION #
  3. #######################################################################
  4. # Full documentation + examples:
  5. # https://docs.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 8.0 or later (5.7.8 partially supported, refer to docs)
  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: sqlite
  21. storage: wikijs_desearch.sqlite
  22. #######################################################################
  23. # ADVANCED OPTIONS #
  24. #######################################################################
  25. # Do not change unless you know what you are doing!
  26. # ---------------------------------------------------------------------
  27. # SSL/TLS Settings
  28. # ---------------------------------------------------------------------
  29. # Consider using a reverse proxy (e.g. nginx) if you require more
  30. # advanced options than those provided below.
  31. ssl:
  32. enabled: false
  33. port: 3443
  34. # Provider to use, possible values: custom, letsencrypt
  35. provider: custom
  36. # ++++++ For custom only ++++++
  37. # Certificate format, either 'pem' or 'pfx':
  38. format: pem
  39. # Using PEM format:
  40. key: path/to/key.pem
  41. cert: path/to/cert.pem
  42. # Using PFX format:
  43. pfx: path/to/cert.pfx
  44. # Passphrase when using encrypted PEM / PFX keys (default: null):
  45. passphrase: null
  46. # Diffie Hellman parameters, with key length being greater or equal
  47. # to 1024 bits (default: null):
  48. dhparam: null
  49. # ++++++ For letsencrypt only ++++++
  50. domain: wiki.yourdomain.com
  51. subscriberEmail: admin@example.com
  52. # ---------------------------------------------------------------------
  53. # Database Pool Options
  54. # ---------------------------------------------------------------------
  55. # Refer to https://github.com/vincit/tarn.js for all possible options
  56. pool:
  57. # min: 2
  58. # max: 10
  59. # ---------------------------------------------------------------------
  60. # IP address the server should listen to
  61. # ---------------------------------------------------------------------
  62. # Leave 0.0.0.0 for all interfaces
  63. bindIP: 0.0.0.0
  64. # ---------------------------------------------------------------------
  65. # Log Level
  66. # ---------------------------------------------------------------------
  67. # Possible values: error, warn, info (default), verbose, debug, silly
  68. logLevel: info
  69. # ---------------------------------------------------------------------
  70. # Log Format
  71. # ---------------------------------------------------------------------
  72. # Output format for logging, possible values: default, json
  73. logFormat: default
  74. # ---------------------------------------------------------------------
  75. # Offline Mode
  76. # ---------------------------------------------------------------------
  77. # If your server cannot access the internet. Set to true and manually
  78. # download the offline files for sideloading.
  79. offline: false
  80. # ---------------------------------------------------------------------
  81. # High-Availability
  82. # ---------------------------------------------------------------------
  83. # Set to true if you have multiple concurrent instances running off the
  84. # same DB (e.g. Kubernetes pods / load balanced instances). Leave false
  85. # otherwise. You MUST be using PostgreSQL to use this feature.
  86. ha: false
  87. # ---------------------------------------------------------------------
  88. # Data Path
  89. # ---------------------------------------------------------------------
  90. # Writeable data path used for cache and temporary user uploads.
  91. dataPath: /wiki/data
  92. # ---------------------------------------------------------------------
  93. # Body Parser Limit
  94. # ---------------------------------------------------------------------
  95. # Maximum size of API requests body that can be parsed. Does not affect
  96. # file uploads.
  97. bodyParserLimit: 5mb