PG Admin
This guide will cover how to connect from pgAdmin to your postgres databases in dokploy.
- Download and install pgAdmin pgAdmin.
- Go to your
postgres
databases. - In External Credentials, enter the
External Port (Internet)
make sure the port is not in use by another service eg.5433
and clickSave
. - It will display the
External Connection URL
eg.postgres://user:[email protected]:5433/database
.
Open pgAdmin and follow the steps:
- Click on
Add New Server
. - Enter the
Server Name
eg.dokploy
. - Enter to
Connection
. - In Hostname/Address enter the IP from the server where the database is hosted eg.
1.2.4.5
. - In Port enter the port where the database is running eg.
5433
. - In Database enter the name of the database eg.
database
. - In Username enter the username eg.
user
. - In Password enter the password eg.
password
. - Click on
Save
.
Done! now you can manage the database from pgAdmin.