blob: 1f7c30b098c8bf606dce501863bf16d4ab0f9c05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
using System;
namespace Jellyfin.Server.Implementations.DatabaseConfiguration;
/// <summary>
/// Options specific to run jellyfin on a postgreSql database.
/// </summary>
public class PostgreSqlOptions
{
/// <summary>
/// Gets or Sets the Port. Defaults to 5432.
/// </summary>
public required int Port { get; set; } = 5432;
/// <summary>
/// Gets or Sets the Server name.
/// </summary>
public required string ServerName { get; set; }
/// <summary>
/// Gets or Sets the username.
/// </summary>
public required string Username { get; set; }
/// <summary>
/// Gets or Sets the password.
/// </summary>
public required string Password { get; set; }
/// <summary>
/// Gets or Sets the database name. Defaults to "Jellyfin".
/// </summary>
public string DatabaseName { get; set; } = "Jellyfin";
/// <summary>
/// Gets or Sets the timeout in secounds before a running command is terminated. Defaults to 30.
/// </summary>
public int Timeout { get; set; } = 30;
}
|