Skip to content

Allow DB_SSL to be an object.#969

Open
marknemm-ub wants to merge 1 commit intothedevs-network:mainfrom
marknemm-ub:feature/db-ssl-env-object
Open

Allow DB_SSL to be an object.#969
marknemm-ub wants to merge 1 commit intothedevs-network:mainfrom
marknemm-ub:feature/db-ssl-env-object

Conversation

@marknemm-ub
Copy link
Copy Markdown

Currently DB_SSL env var can only be assigned to a boolean value.
Some DB clients require that an object be provided or at least allow providing an object for deeper configuration of SSL.

For example, the mysql2 DB driver requires that an object be provided instead of a boolean:

DB_SSL: '{ "rejectUnauthorized": true }'

This change should still support providing simple boolean values like before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant