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.
38 lines
1.1 KiB
38 lines
1.1 KiB
|
|
myapp = {
|
|
database = {
|
|
driver = org.postgresql.Driver
|
|
dbHost = localhost
|
|
dbHost = ${?HTTP4S_DEMO_DB_HOST}
|
|
dbPort = 5432
|
|
dbPort = ${?HTTP4S_DEMO_DB_PORT}
|
|
dbName = test_db
|
|
dbName = ${?HTTP4S_DEMO_DB_NAME}
|
|
url = "jdbc:postgresql://"${myapp.database.dbHost}":"${myapp.database.dbPort}"/"${myapp.database.dbName}
|
|
user = "test_user"
|
|
user = ${?HTTP4S_DEMO_DB_USER}
|
|
password = "password"
|
|
password = ${?HTTP4S_DEMO_DB_PASSWORD}
|
|
numThreads = 16
|
|
queueSize = 1000
|
|
maxConnections = 16
|
|
connectionTimeout = 5000
|
|
validationTimeout = 5000
|
|
# connectionPool = disabled
|
|
keepAlive = true
|
|
migrations-table = "flyway_schema_history"
|
|
migrations-locations = [
|
|
"classpath:db/migration/default"
|
|
]
|
|
},
|
|
testDatabase = {
|
|
driver = org.postgresql.Driver
|
|
user = "scala"
|
|
password = "scala"
|
|
numThreads = 16
|
|
queueSize = 10
|
|
maxConnections = 36
|
|
}
|
|
}
|
|
|
|
|