create gradle tasks "test", "testSql", "migrations" and run docker before tasks

This commit is contained in:
2021-02-27 23:20:57 +01:00
parent c25cf64f4b
commit 7446bd506a
13 changed files with 325 additions and 102 deletions

View File

@@ -1,7 +1,6 @@
ktor {
deployment {
port = 8080
port = ${?PORT}
port = 8181
}
application {
modules = [ fr.dcproject.ApplicationKt.module ]
@@ -15,26 +14,22 @@ app {
db {
host = localhost
host = ${?DB_HOST}
database = test
username = test
password = test
port = 5432
port = 5433
}
redis {
connection = "redis://localhost:6379"
connection = ${?REDIS_CONNECTION}
connection = "redis://localhost:6380"
}
rabbitmq {
connection = "amqp://localhost:5672"
connection = ${?RABBITMQ_CONNECTION}
}
elasticsearch {
connection = "http://localhost:9200"
connection = ${?ELASTICSEARCH_CONNECTION}
connection = "http://localhost:9201"
}
mail {