Add DSN Configuration to management.json to unify postgre config. #1316

Open
opened 2025-11-20 05:28:25 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @marcportabellaclotet-mt on GitHub (Oct 8, 2024).

I’d like to suggest a new feature for Netbird. It would be useful to add a key for handling the DSN directly in the management.json file. Currently, the engine is specified in management.json, while the DSN is set via an environment variable.

It would be great to consolidate this by allowing the DSN to be defined within management.json, like so:

"StoreConfig": {
  "Engine": "postgres",
  "DSN": "xxxx"
}

This would simplify configuration management.

Thanks for considering this!

Originally created by @marcportabellaclotet-mt on GitHub (Oct 8, 2024). I’d like to suggest a new feature for Netbird. It would be useful to add a key for handling the DSN directly in the `management.json` file. Currently, the engine is specified in `management.json`, while the DSN is set via an environment variable. It would be great to consolidate this by allowing the DSN to be defined within `management.json`, like so: ```json "StoreConfig": { "Engine": "postgres", "DSN": "xxxx" } ``` This would simplify configuration management. Thanks for considering this!
saavagebueno added the feature-request label 2025-11-20 05:28:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1316