Add PostgreSQL config and update publish profile path
Added database.xml with PostgreSQL settings for Jellyfin, including connection and backup options. Updated Jellyfin.Server.csproj.user to reference a specific FolderProfile publish profile path.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<DatabaseConfigurationOptions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<DatabaseType>Jellyfin-PostgreSQL</DatabaseType>
|
||||
<CustomProviderOptions>
|
||||
<PluginName>Jellyfin-PostgreSQL</PluginName>
|
||||
<PluginAssembly>Jellyfin.Database.Providers.Postgres</PluginAssembly>
|
||||
<ConnectionString>Host=localhost;Port=5432;Database=jellyfin;Username=jellyfin;Password=jellyfin</ConnectionString>
|
||||
<Options />
|
||||
</CustomProviderOptions>
|
||||
<LockingBehavior>NoLock</LockingBehavior>
|
||||
<BackupOptions>
|
||||
<PgDumpPath>pg_dump</PgDumpPath>
|
||||
<PgRestorePath>pg_restore</PgRestorePath>
|
||||
<BackupFormat>custom</BackupFormat>
|
||||
<IncludeBlobs>true</IncludeBlobs>
|
||||
<CompressionLevel>6</CompressionLevel>
|
||||
<TimeoutSeconds>1800</TimeoutSeconds>
|
||||
<VerboseOutput>true</VerboseOutput>
|
||||
<ParallelJobs xsi:nil="true" />
|
||||
</BackupOptions>
|
||||
</DatabaseConfigurationOptions>
|
||||
Reference in New Issue
Block a user