Support for connecting to PostgreSQL without SSL
akoenig opened this issue · comments
Although it might sound counterintuitive, but there are situations in which SSL might not be necessary, like deploying ourboard
on a small machine where the PostgreSQL instance is running within a container 🙂. Overall this would minimize the infrastructural ceremony involved to testdrive ourboard
on a machine in the cloud. Right now this is not possible because of the ternary in the db.ts
:
Line 9 in b07f983
DATABASE_SSL_ENABLED=true
where the default is false
. I would take over the PR if you like 🙂
Happy to hear your thoughts @raimohanska and keep up the awesome work!
Yeah why not! Could you create a PR that doesn’t necessitate env changes on existing dev setups or prod?
@raimohanska Cool! I compiled a PR which is easy on the current env defaults 🙂