application.conf 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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="`o0VB@vXStsF:ffwM5ZZ_r:GYkm96QM[nRUJLpEbI8hwLUdV;N<:UyUWI;lf/XP`"
  11. # The application languages
  12. # ~~~~~
  13. application.langs="en"
  14. # Global object class
  15. # ~~~~~
  16. # Define the Global object class for this application.
  17. # Default to Global in the root package.
  18. # application.global=Global
  19. # Router
  20. # ~~~~~
  21. # Define the Router object to use for this application.
  22. # This router will be looked up first when the application is starting up,
  23. # so make sure this is the entry point.
  24. # Furthermore, it's assumed your route file is named properly.
  25. # So for an application router like `conf/my.application.Router`,
  26. # you may need to define a router file `my.application.routes`.
  27. # Default to Routes in the root package (and `conf/routes`)
  28. # application.router=my.application.Routes
  29. # Database configuration
  30. # ~~~~~
  31. # You can declare as many datasources as you want.
  32. # By convention, the default datasource is named `default`
  33. #
  34. # db.default.driver=org.h2.Driver
  35. # db.default.url="jdbc:h2:mem:play"
  36. # db.default.user=sa
  37. # db.default.password=""
  38. #
  39. # You can expose this datasource via JNDI if needed (Useful for JPA)
  40. # db.default.jndiName=DefaultDS
  41. db.default.driver= com.mysql.jdbc.Driver
  42. db.default.url="jdbc:mysql://127.0.0.1:3306/hello_world?jdbcCompliantTruncation=false&elideSetAutoCommits=true&useLocalSessionState=true&cachePrepStmts=true&cacheCallableStmts=true&alwaysSendSetIsolation=false&prepStmtCacheSize=4096&cacheServerConfiguration=true&prepStmtCacheSqlLimit=2048&zeroDateTimeBehavior=convertToNull&traceProtocol=false&useUnbufferedInput=false&useReadAheadInput=false&maintainTimeStats=false&useServerPrepStmts&cacheRSMetadata=true"
  43. db.default.username=benchmarkdbuser
  44. db.default.password=benchmarkdbpass
  45. db.default.jndiName=DefaultDS
  46. jpa.default=defaultPersistenceUnit
  47. db.default.partitionCount=4
  48. # The number of connections to create per partition. Setting this to
  49. # 5 with 3 partitions means you will have 15 unique connections to the
  50. # database..
  51. #
  52. # This value maps to the maximumPoolSize for HickariCP (db.default.partitionCount * db.default.maxConnectionsPerPartition)
  53. db.default.maxConnectionsPerPartition=64
  54. # The number of initial connections, per partition.
  55. #
  56. # This maps to the minimumIdle connections for HikariCP (db.default.partitionCount * db.default.minConnectionsPerPartition)
  57. db.default.minConnectionsPerPartition=64
  58. dbplugin=disabled
  59. # Evolutions
  60. # ~~~~~
  61. # You can disable evolutions if needed
  62. evolutionplugin=disabled