application.conf 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # https://www.playframework.com/documentation/latest/Configuration
  2. # Secret key
  3. # ~~~~~
  4. # The secret key is used to secure cryptographics functions.
  5. # If you deploy your application to several instances be sure to use the same key!
  6. #play.crypto.secret="CHANGEME!"
  7. # The application languages
  8. # ~~~~~
  9. play.i18n.langs=["en"]
  10. # Database configuration
  11. # ~~~~~
  12. # You can declare as many datasources as you want.
  13. # By convention, the default datasource is named `default`
  14. #
  15. db.default.driver=org.h2.Driver
  16. db.default.url="jdbc:h2:mem:users"
  17. oauth.dev = true
  18. init.admin.email = "test@test.org"
  19. init.admin.password = "12345678"
  20. init.admin.fname = "admin"
  21. init.admin.lname = "istrator"
  22. mongo.user="application"
  23. mongo.password="test"
  24. mongo.ssl=false
  25. fdc.apikey="0Ky5r8VEcd0v9z4eJsNZoDNguKWzGZ0iCo4RpOJN"
  26. # Filters
  27. # ~~~~~
  28. play.filters.enabled=[
  29. "play.filters.cors.CORSFilter",
  30. "play.filters.headers.SecurityHeadersFilter",
  31. # "play.filters.hosts.AllowedHostsFilter",
  32. "play.filters.csrf.CSRFFilter"
  33. ]
  34. play.filters.cors {
  35. pathPrefixes = ["/"]
  36. #allowedOrigins = ["http://localhost:9000"]
  37. allowedOrigins = null
  38. }
  39. play.filters.csrf {
  40. bypassCorsTrustedOrigins = true
  41. }
  42. # Modules
  43. # ~~~~~
  44. #play.modules.enabled += "play.modules.swagger.SwaggerModule"