application.conf 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. application {
  2. env = dev
  3. version = "1.0"
  4. name="Proteus"
  5. path = ""
  6. # localhost
  7. host = "0.0.0.0"
  8. # HTTP ports
  9. ports
  10. {
  11. http = 8080
  12. }
  13. }
  14. application.tmpdir=${java.io.tmpdir}
  15. api.version="v1"
  16. globalHeaders
  17. {
  18. # Access-Control-Allow-Origin: "*"
  19. # Access-Control-Allow-Methods: "*"
  20. # Access-Control-Allow-Headers: "*"
  21. Server: "P"
  22. }
  23. assets {
  24. path = "/public"
  25. dir = "./assets"
  26. cache {
  27. time = 500
  28. }
  29. }
  30. mysql
  31. {
  32. hikaricp
  33. {
  34. jdbcUrl= "jdbc:mysql://tfb-database:3306/hello_world?useServerPrepStmts=true&cachePrepStmts=true&useSSL=false",
  35. #jdbcUrl= "jdbc:mysql://tfb-database:3306/hello_world?useServerPrepStmts=true&cachePrepStmts=true&useUnicode=true",
  36. maximumPoolSize=48
  37. username = benchmarkdbuser
  38. password = benchmarkdbpass
  39. }
  40. }
  41. postgres
  42. {
  43. hikaricp
  44. {
  45. description="postgresql server"
  46. jdbcUrl= "jdbc:postgresql://tfb-database:5432/hello_world",
  47. maximumPoolSize=256
  48. username = benchmarkdbuser
  49. password = benchmarkdbpass
  50. }
  51. }