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.

82 lines
2.7 KiB

  1. #######################################################################
  2. # REQUARKS WIKI - CONFIGURATION #
  3. #######################################################################
  4. # Full explanation + examples in the documentation:
  5. # https://requarks-wiki.readme.io/
  6. # ---------------------------------------------------------------------
  7. # Title of this site
  8. # ---------------------------------------------------------------------
  9. title: Wiki
  10. # ---------------------------------------------------------------------
  11. # Full public path to the site, without the trailing slash
  12. # ---------------------------------------------------------------------
  13. host: http://localhost
  14. # ---------------------------------------------------------------------
  15. # Port the main server should listen to (80 by default)
  16. # ---------------------------------------------------------------------
  17. # To use process.env.PORT, comment the line below:
  18. port: 80
  19. # ---------------------------------------------------------------------
  20. # Data Directories
  21. # ---------------------------------------------------------------------
  22. paths:
  23. repo: ./repo
  24. data: ./data
  25. # ---------------------------------------------------------------------
  26. # Database Connection String
  27. # ---------------------------------------------------------------------
  28. db: mongodb://localhost:27017/wiki
  29. # ---------------------------------------------------------------------
  30. # Git Connection Info
  31. # ---------------------------------------------------------------------
  32. git:
  33. url: https://github.com/Organization/Repo
  34. branch: master
  35. auth:
  36. # Type: basic, oauth or ssh
  37. type: ssh
  38. username: marty
  39. # Password, OAuth token or private key passphrase:
  40. password: MartyMcFly88
  41. # Only for SSH authentication:
  42. publicKey: /etc/requarkswiki/keys/git.pub
  43. privateKey: /etc/requarkswiki/keys/git.key
  44. sslVerify: true
  45. # ---------------------------------------------------------------------
  46. # Secret key to use when encrypting sessions
  47. # ---------------------------------------------------------------------
  48. # Use a long and unique random string (256-bit keys are perfect!)
  49. sessionSecret: 1234567890abcdefghijklmnopqrstuvxyz
  50. # ---------------------------------------------------------------------
  51. # Administrator email
  52. # ---------------------------------------------------------------------
  53. # An admin account will be created using the email specified here.
  54. # The password is set to "admin123" by default. Change it immediately
  55. # upon login!!!
  56. admin: admin@company.com
  57. # ---------------------------------------------------------------------
  58. # Site Language
  59. # ---------------------------------------------------------------------
  60. # Possible values: en, fr
  61. lang: en