|
|
@ -35,6 +35,31 @@ play.modules.enabled += "com.xsn.explorer.modules.ConfigModule" |
|
|
|
play.modules.enabled += "com.xsn.explorer.modules.ExecutorsModule" |
|
|
|
play.modules.enabled += "com.xsn.explorer.modules.XSNServiceModule" |
|
|
|
|
|
|
|
|
|
|
|
db.default { |
|
|
|
driver = "org.postgresql.Driver" |
|
|
|
host = "localhost:5432" |
|
|
|
database = "xsn_blockchain" |
|
|
|
username = "postgres" |
|
|
|
password = "" |
|
|
|
|
|
|
|
host = ${?XSN_PSQL_HOST} |
|
|
|
database = ${?XSN_PSQL_DATABASE} |
|
|
|
username = ${?XSN_PSQL_USERNAME} |
|
|
|
password = ${?XSN_PSQL_PASSWORD} |
|
|
|
|
|
|
|
url = "jdbc:postgresql://"${db.default.host}"/"${db.default.database} |
|
|
|
} |
|
|
|
|
|
|
|
play.evolutions { |
|
|
|
autoApply = true |
|
|
|
|
|
|
|
db.default { |
|
|
|
enabled = true |
|
|
|
autocommit = false |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
externalService.dispatcher { |
|
|
|
executor = "thread-pool-executor" |
|
|
|
throughput = 1 |
|
|
|