ktor { application { modules = [com.mtusi.messenger.main.AppKt.module] } deployment { host = "0.0.0.0" host = ${?APP_HOST} port = 8080 port = ${?APP_PORT} shutdownGracePeriod = 3000 shutdownTimeout = 10000 } } database { host = "localhost" host = ${?DB_HOST} port = 5432 port = ${?DB_PORT} name = "messenger" name = ${?DB_NAME} username = "messenger" username = ${?DB_USER} password = ${?DB_PASSWORD} passwordFile = ${?DB_PASSWORD_FILE} maxPoolSize = 10 maxPoolSize = ${?DB_MAX_POOL_SIZE} connectionTimeoutMs = 2000 statementTimeoutMs = 5000 } redis { host = "localhost" host = ${?REDIS_HOST} port = 6379 port = ${?REDIS_PORT} password = ${?REDIS_PASSWORD} passwordFile = ${?REDIS_PASSWORD_FILE} connectTimeoutMs = 500 commandTimeoutMs = 500 } authentication { realm = "messenger" sessionTtlSeconds = 3600 sessionTtlSeconds = ${?SESSION_TTL_SECONDS} sessionCacheTtlSeconds = 60 }