Files
zz_app/server/src/main/resources/application.conf
T

37 lines
947 B
Plaintext

ktor {
deployment {
# alle Server
port = 7770
host = 0.0.0.0
# defaults * 2
connectionGroupSize = 4
workerGroupSize = 10
callGroupSize = 20
shutdownGracePeriod = 2000
shutdownTimeout = 3000
# Netty defaults
maxInitialLineLength = 4096
maxHeaderSize = 8192
maxChunkSize = 8192
}
application {
# ApplicationKt.module() übernimmt die Konfiguration
modules = [ net.keinekekse.app.ApplicationKt.module ]
}
}
keycloak {
internalUrl = "http://kec:8080/realms"
url = "https://kec.keinekekse.net/realms"
realm = "app-server-realm"
clientId = "pkce-book-app"
certUrl = "protocol/openid-connect/certs"
}
postgres {
# DB-Params werden vom Container als env vars gesetzt
host = ${DB_HOST}
port = ${DB_PORT}
database = ${DB_DATABASE}
user = ${DB_USER}
password = ${DB_PASSWORD}
}