mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
[PR #404] [MERGED] allow postgres connections, that require ssl mode #1011
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/plankanban/planka/pull/404
Author: @orbatschow
Created: 2/24/2023
Status: ✅ Merged
Merged: 2/27/2023
Merged by: @meltyshev
Base:
master← Head:master📝 Commits (2)
3e5f43eprovide a fix and documentation for postgres connections, that require ssl mode6188a71fix spelling mistake📊 Changes
3 files changed (+16 additions, -1 deletions)
View changed files
📝
docker-compose.yml(+5 -0)📝
server/.env.sample(+5 -0)📝
server/db/knexfile.js(+6 -1)📄 Description
At the moment knex.js does not pass down connection query parameters to build the connection.
Related: https://github.com/knex/knex/issues/2354
This can be bypassed by setting the corresponding environment variable
PGSSLMODE.This PR provides the corresponding documentation. I couldn't find the source code for the official website, so I put this into two places:
So far there is a ticket open to allow connections to Postgres databases, that offer a self-signed certificate: https://github.com/plankanban/planka/issues/261
This PR will make a change on how the connection string is build, that should be backwards compatible and allows the usage of self-signed certificates.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.