application.conf 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. # play.modules.enabled += "name.tflucke.mongoevolutions.EvolutionsModule"
  19. # mongodb.evolution.mongoCmd = "/usr/bin/mongo localhost:27017/recipes -u application -p 12345678"
  20. init.admin.email = "test@test.org"
  21. init.admin.password = "12345678"
  22. init.admin.fname = "admin"
  23. init.admin.lname = "istrator"
  24. mongo.user="application"
  25. mongo.password="12345678"
  26. mongo.ssl=false
  27. fdc.apikey="0Ky5r8VEcd0v9z4eJsNZoDNguKWzGZ0iCo4RpOJN"
  28. # Filters
  29. # ~~~~~
  30. play.filters.enabled=[
  31. "play.filters.cors.CORSFilter",
  32. "play.filters.headers.SecurityHeadersFilter",
  33. # "play.filters.hosts.AllowedHostsFilter",
  34. "play.filters.csrf.CSRFFilter"
  35. ]
  36. play.filters.cors {
  37. pathPrefixes = ["/"]
  38. #allowedOrigins = ["http://localhost:9000"]
  39. allowedOrigins = null
  40. }
  41. play.filters.csrf {
  42. bypassCorsTrustedOrigins = true
  43. }
  44. # Modules
  45. # ~~~~~
  46. #play.modules.enabled += "play.modules.swagger.SwaggerModule"