Completed for a grade of three

This commit is contained in:
2026-10-08 20:26:09 +03:00
parent 16fa679bc0
commit b38a33308d
100 changed files with 2832 additions and 602 deletions
+22
View File
@@ -12,3 +12,25 @@ ktor {
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
}
authentication {
realm = "messenger"
sessionTtlSeconds = 3600
sessionTtlSeconds = ${?SESSION_TTL_SECONDS}
}