mirror of
https://github.com/plankanban/planka.git
synced 2026-07-16 05:53:57 +03:00
Accept DATABASE_URL as secret #890
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?
Originally created by @shimisnow on GitHub (Jan 5, 2026).
Which part of the project does this feature apply to?
Backend
What would you like?
Option to use
DATABASE_URL__FILE=/run/secrets/PLANKA_DATABASE_URLWhy is this needed?
In the current setup we can config only
DATABASE_URL=postgresql://user:$${DATABASE_PASSWORD}@database.domain:5432/planka?ssl=true. This way user, domain, port and database are visible in plain text.This is needed so this data is treated with the same security as the password.
Other information
There is no need to process
$${DATABASE_PASSWORD}at theDATABASE_URLsecret. Once url is a secret, password cannot be a secret.I am available to make a PR with the code.