cli-module-build: forward user config to embedded Postgres
When using the embedded-postgres database client, user-provided connection config (host, port, user, password) is now forwarded to the embedded Postgres instance. Only values that the user hasn't configured are filled in with defaults and injected into the app config, preserving existing behavior when no config is provided. Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/cli-module-build': patch
|
||||
---
|
||||
|
||||
The embedded Postgres database used during local development now respects user-provided connection configuration. If you configure `host`, `port`, `user`, or `password` under `backend.database.connection` alongside the `embedded-postgres` database client, those values will be forwarded to the embedded Postgres instance. Only values that you have not configured will be filled in with defaults. This makes it possible to run the embedded database on a specific host and port, for example to connect to it externally with `psql`.
|
||||
Reference in New Issue
Block a user