mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat: Add DB_SSL_MODE environment variable for Postgres sslmode (#18025)
* feat: Add DB_SSL_MODE environment variable for Postgres sslmode * chore: clean up --------- Co-authored-by: Jason Rasmussen <jason@rasm.me>
This commit is contained in:
parent
ece977d9ca
commit
7072e48cbe
7 changed files with 31 additions and 3 deletions
|
|
@ -2,6 +2,7 @@ import { SystemConfig } from 'src/config';
|
|||
import {
|
||||
AssetType,
|
||||
DatabaseExtension,
|
||||
DatabaseSslMode,
|
||||
ExifOrientation,
|
||||
ImageFormat,
|
||||
JobName,
|
||||
|
|
@ -380,6 +381,7 @@ export type DatabaseConnectionParts = {
|
|||
username: string;
|
||||
password: string;
|
||||
database: string;
|
||||
ssl?: DatabaseSslMode;
|
||||
};
|
||||
|
||||
export type DatabaseConnectionParams = DatabaseConnectionURL | DatabaseConnectionParts;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue