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.

83 lines
2.8 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. # Port the websocket server should listen to (8080 by default)
  21. # ---------------------------------------------------------------------
  22. # Make sure this port is opened in the firewall if applicable
  23. wsPort: 8080
  24. # ---------------------------------------------------------------------
  25. # Data Directories
  26. # ---------------------------------------------------------------------
  27. datadir:
  28. repo: ./repo
  29. db: ./data
  30. # ---------------------------------------------------------------------
  31. # Git Connection Info
  32. # ---------------------------------------------------------------------
  33. git:
  34. url: https://github.com/Organization/Repo
  35. branch: master
  36. auth:
  37. # Type: basic, oauth or ssh
  38. type: ssh
  39. username: marty
  40. # Password, OAuth token or private key passphrase:
  41. password: MartyMcFly88
  42. # Only for SSH authentication:
  43. publicKey: /etc/requarkswiki/keys/git.pub
  44. privateKey: /etc/requarkswiki/keys/git.key
  45. sslVerify: true
  46. # ---------------------------------------------------------------------
  47. # Secret key to use when encrypting sessions
  48. # ---------------------------------------------------------------------
  49. # Use a long and unique random string (256-bit keys are perfect!)
  50. sessionSecret: 1234567890abcdefghijklmnopqrstuvxyz
  51. # ---------------------------------------------------------------------
  52. # Administrator email
  53. # ---------------------------------------------------------------------
  54. # An admin account will be created using the email specified here.
  55. # The password is set to "admin123" by default. Change it immediately
  56. # upon login!!!
  57. admin: admin@company.com
  58. # ---------------------------------------------------------------------
  59. # Site Language
  60. # ---------------------------------------------------------------------
  61. # Possible values: en, fr
  62. lang: en