application.conf 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. # If you deploy your application to several instances be sure to use the same key!
  7. play.crypto.secret="RItx1I:80?W@]8GAtPDuF8Ydd3mXM85p/<7og]Q;uBOdijQAauRDgu73B6`wQP59"
  8. # The application languages
  9. # ~~~~~
  10. application.langs="en"
  11. # Global object class
  12. # ~~~~~
  13. # Define the Global object class for this application.
  14. # Default to Global in the root package.
  15. # global=Global
  16. # Database configuration
  17. # ~~~~~
  18. # You can declare as many datasources as you want.
  19. # By convention, the default datasource is named `default`
  20. #
  21. # db.default.driver=org.h2.Driver
  22. # db.default.url="jdbc:h2:mem:play"
  23. # db.default.user=sa
  24. # db.default.password=
  25. #
  26. # You can expose this datasource via JNDI if needed (Useful for JPA)
  27. # db.default.jndiName=DefaultDS
  28. db.default.driver= com.mysql.jdbc.Driver
  29. 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"
  30. db.default.username=benchmarkdbuser
  31. db.default.password=benchmarkdbpass
  32. db.default.jndiName=DefaultDS
  33. jpa.default=defaultPersistenceUnit
  34. db.default.partitionCount=4
  35. # The number of connections to create per partition. Setting this to
  36. # 5 with 3 partitions means you will have 15 unique connections to the
  37. # database..
  38. #
  39. # This value maps to the maximumPoolSize for HickariCP (db.default.partitionCount * db.default.maxConnectionsPerPartition)
  40. db.default.maxConnectionsPerPartition=64
  41. # The number of initial connections, per partition.
  42. #
  43. # This maps to the minimumIdle connections for HikariCP (db.default.partitionCount * db.default.minConnectionsPerPartition)
  44. db.default.minConnectionsPerPartition=64
  45. dbplugin=disabled
  46. # Evolutions
  47. # ~~~~~
  48. # You can disable evolutions if needed
  49. evolutionplugin=disabled
  50. # Ebean configuration
  51. # ~~~~~
  52. # You can declare as many Ebean servers as you want.
  53. # By convention, the default server is named `default`
  54. #
  55. ebean.default="models.*"