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:
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile>
|
<NameOfLastUsedPublishProfile>E:\Projects\pgsql-jellyfin\Jellyfin.Server\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -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