This is a DDEV add-on provides a pgAdmin service for PostgreSQL databases.
Installation:
ddev add-on get MurzNN/ddev-pgadmin
ddev restart
You can run pgAdmin easily with the command after installing this add-on:
ddev pgadmin
Also, it will be available on the url https://pgadmin.yourprojectname.ddev.site. If it asks for the database password, enter db there.
Tip
For Gitpod: The ddev pgadmin command can open a blank page in preview mode, open the link in a new browser tab/window to make it work.
Tips
PgAdmin stores the initial configuration from the server.json in the internal database on the first start. So, if you make changes in the servers.json - delete the pgadmin-data Docker volume to apply changes.