Completed for a grade of three
This commit is contained in:
@@ -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}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user