github-actions-cache-server icon indicating copy to clipboard operation
github-actions-cache-server copied to clipboard

feat: Add "connectionString" option to postgres client config

Open Kleinkind opened this issue 1 year ago • 0 comments

Hello 👋

This PR adds the option to configure the postgres-client via the connectionString Parameter to allow additional client-config that is not possible using the current "fixed" Environment Variables.

For us this is necessary so we can specify the sslmode. For example:

DB_POSTGRES_CONNECTION_STRING=postgres://user:password@host:5432/database?sslmode=no-verify

I am not really happy with making all the ENV Vars optional for this to work properly, so any feedback/improvement is welcome.

Kleinkind avatar Oct 08 '24 15:10 Kleinkind