Advertisement
Guest User

Untitled

a guest
Jan 25th, 2020
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. // (optional) mailer isn't necessary but you won't be able to reset the password for example
  2. mailer: {
  3. sender: no-reply@exot.app
  4. transport: smtp
  5. transportOptions: {
  6. // NodeMailer transport options (see https://nodemailer.com/smtp/)
  7. auth: {
  8. user: YOUR_SMTP_USER
  9. pass: YOUR_SMTP_PASSWORD
  10. }
  11. host: YOUR_SMTP_HOST
  12. port: 587
  13. secure: false
  14. }
  15. }
  16.  
  17. jwt: {
  18. // JWT expiration time (e.g. 30d)
  19. expiresIn: 90d
  20. // JWT secret key
  21. secret: YOUR_JWT_SECRET
  22. }
  23.  
  24. database: {
  25. // Driver type (sqlite or mysql)
  26. type: sqlite
  27. // TypeORM connection options (see https://typeorm.io/#/connection-options)
  28. connectionOptions: {
  29. // SQLite filaname or MySQL database name
  30. database: /etc/exot/data/exot.db
  31. // disable or enable typeorm logging
  32. logging: false
  33. }
  34. }
  35.  
  36. server: {
  37. // Server address <host>:<port>; Use 0.0.0.0 for any IP address.
  38. bind: 0.0.0.0:8080
  39. // (optional) URL address of the server to which the clients should connect to. Use if the server is behind a gateway.
  40. publicUrl: http://127.0.0.1:8080
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement