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:
David Cruz
2025-05-06 07:25:37 -06:00
committed by GitHub
parent ece977d9ca
commit 7072e48cbe
7 changed files with 31 additions and 3 deletions
@@ -193,6 +193,7 @@ const getEnv = (): EnvData => {
username: dto.DB_USERNAME || 'postgres',
password: dto.DB_PASSWORD || 'postgres',
database: dto.DB_DATABASE_NAME || 'immich',
ssl: dto.DB_SSL_MODE || undefined,
};
return {