Closed cmaksymenko closed 9 months ago
Solution, defined servers.json and pointed with PGADMIN_SERVER_JSON_FILE to it - pgAdmin automatically initializes on that. The only thing the user has to do then is to enter the PostgreSQL Admin User secret, when opening the connection.
In our local development setup, we aim to streamline the initialization of pgAdmin while ensuring it connects seamlessly to the database. Currently, when pgAdmin is initialized for the first time, it lacks preconfigured connections to our PostgreSQL database. The goal is to implement a mechanism that automates the creation of connection details, including secrets, and injects them into pgAdmin's configuration.