github-actions-cache-server
github-actions-cache-server copied to clipboard
feat: Add "connectionString" option to postgres client config
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.