-
Notifications
You must be signed in to change notification settings - Fork 43
[Other] Access the PostgreSQL database using a 3rd party software
If you'd like to use a 3rd part software that lets you manipulate a PostgreSQL database through a GUI, here are the instructions.
It is very important to run the application while setting up the configuration of the connection
docker-compose up --build
Every software is different, so there are no strict instructions for this. When trying to setup the connection to the database, you should use the following settings
Host: <localhost or 192.168.99.100>
Port: 2345
Username: postgres
Password: postgres
Note: The default PostgreSQL port is 5432, but by mapping the 5432 port from inside the postgres container to the host machine, it was raising errors in the application. Hence, port 2345 on the host machine maps to port 5432 inside the container.
To be able to connect to the database, your application must be running. If the application is not running, the postgres container is not up, so it is impossible to access it.