Possible to add servers to pgadmin4 via CLI or config files? - Mailing list pgadmin-support

From Glen Huang
Subject Possible to add servers to pgadmin4 via CLI or config files?
Date
Msg-id 2BAA785C-A283-474B-89F3-3BB11A74AEB7@gmail.com
Whole thread Raw
Responses Re: Possible to add servers to pgadmin4 via CLI or config files?
List pgadmin-support
Hi,

I’m running pgadmin in docker, and I’d like it to contain some servers by default when the container starts. Is there
anyway to add servers (ideally also preferences) via command line or some config files? 

Currently I keep a copy of pgadmin4.db after I have configured pgadmin, and put that in the docker. But I worry that
thedata structure of that db file can change, and I need to reconfigure pgadmin when I upgrade to a new version. 

Is copying over pgadmin4.db the right way to achieve that?

Regards,
Glen

pgadmin-support by date:

Previous
From: Glen Huang
Date:
Subject: Re: Unable to log to stdout for pgadmin4 in python3
Next
From: Ashesh Vashi
Date:
Subject: Re: Possible to add servers to pgadmin4 via CLI or config files?