immich/server/libs/infra
Hammer 5340683199
Allow the use of SSL connections to the postgres database. (#1256)
* Allow the use of SSL connections to the postgres database.

* Add default SSL false when no env set

* Add commented out example of DB_SSL env

* Refactor add SSL option into PostgresConnectionOptions

* Refactor the database connection to optionally use a URL string instead of the env variables

* Refactor the database connection based on feedback

* Add dynamic validation around the DB envs

* Remove DB_URL from example

* Fix rebase

* Add back the optional database port in the example

* Formatted file correctly

* change types to a const to fix tests
2023-01-20 14:27:01 -06:00
..
src Allow the use of SSL connections to the postgres database. (#1256) 2023-01-20 14:27:01 -06:00
tsconfig.lib.json refactor(server): domain/infra (#1298) 2023-01-11 21:34:36 -05:00