You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.0 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. myapp = {
  2. database = {
  3. driver = org.postgresql.Driver
  4. dbHost = localhost
  5. dbHost = ${?APP_DB_HOST}
  6. dbPort = 5432
  7. dbPort = ${?APP_DB_PORT}
  8. dbName = test_db
  9. dbName = ${?APP_DB_NAME}
  10. url = "jdbc:postgresql://"${myapp.database.dbHost}":"${myapp.database.dbPort}"/"${myapp.database.dbName}
  11. user = "test_user"
  12. password = "password"
  13. numThreads = 16
  14. queueSize = 1000
  15. maxConnections = 16
  16. connectionTimeout = 5000
  17. validationTimeout = 5000
  18. # connectionPool = disabled
  19. keepAlive = true
  20. migrations-table = "flyway_schema_history"
  21. migrations-locations = [
  22. "classpath:db/migration/default"
  23. ]
  24. },
  25. testDatabase = {
  26. driver = org.postgresql.Driver
  27. user = "scala"
  28. password = "scala"
  29. numThreads = 16
  30. queueSize = 10
  31. maxConnections = 36
  32. }
  33. }