application.conf 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # This is the main configuration file for the application.
  2. # ~~~~~
  3. # Secret key
  4. # ~~~~~
  5. # The secret key is used to secure cryptographics functions.
  6. #
  7. # This must be changed for production, but we recommend not changing it in this file.
  8. #
  9. # See http://www.playframework.com/documentation/latest/ApplicationSecret for more details.
  10. play.crypto.secret = "RItx1I:80?W@]8GAtPDuF8Ydd3mXM85p/<7og]Q;uBOdijQAauRDgu73B6`wQP59"
  11. # The application languages
  12. # ~~~~~
  13. play.i18n.langs = [ "en" ]
  14. # Router
  15. # ~~~~~
  16. # Define the Router object to use for this application.
  17. # This router will be looked up first when the application is starting up,
  18. # so make sure this is the entry point.
  19. # Furthermore, it's assumed your route file is named properly.
  20. # So for an application router like `my.application.Router`,
  21. # you may need to define a router file `conf/my.application.routes`.
  22. # Default to Routes in the root package (and conf/routes)
  23. # play.http.router = my.application.Routes
  24. # Database configuration
  25. # ~~~~~
  26. # You can declare as many datasources as you want.
  27. # By convention, the default datasource is named `default`
  28. #
  29. # db.default.driver=org.h2.Driver
  30. # db.default.url="jdbc:h2:mem:play"
  31. # db.default.username=sa
  32. # db.default.password=""
  33. # Evolutions
  34. # ~~~~~
  35. # You can disable evolutions if needed
  36. # play.evolutions.enabled=false
  37. # You can disable evolutions for a specific datasource if necessary
  38. # play.evolutions.db.default.enabled=false
  39. play.modules.enabled += "play.modules.reactivemongo.ReactiveMongoModule"
  40. mongodb.servers = ["localhost:27017"]
  41. mongodb.db = "hello_world"