application.conf 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. application.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.user=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. Note that BoneCP will not create all these connections in
  51. # one go but rather start off with minConnectionsPerPartition and
  52. # gradually increase connections as required.
  53. #
  54. # This value maps to the maximumPoolSize for HickariCP (db.default.partitionCount * db.default.maxConnectionsPerPartition)
  55. db.default.maxConnectionsPerPartition=64
  56. # The number of initial connections, per partition.
  57. #
  58. # This maps to the minimumIdle connections for HikariCP (db.default.partitionCount * db.default.minConnectionsPerPartition)
  59. db.default.minConnectionsPerPartition=64
  60. dbplugin=disabled
  61. # Evolutions
  62. # ~~~~~
  63. # You can disable evolutions if needed
  64. evolutionplugin=disabled
  65. # Ebean configuration
  66. # ~~~~~
  67. # You can declare as many Ebean servers as you want.
  68. # By convention, the default server is named `default`
  69. #
  70. # ebean.default="models.*"
  71. # Logger
  72. # ~~~~~
  73. # You can also configure logback (http://logback.qos.ch/),
  74. # by providing an application-logger.xml file in the conf directory.
  75. # Root logger:
  76. logger.root=ERROR
  77. # Logger used by the framework:
  78. logger.play=INFO
  79. # Logger provided to your application:
  80. logger.application=DEBUG