How to install Postgresql and pgAdmin on Docker

preview_player
Показать описание
0:00 intro
1:21 Creating the docker-compose file
3:46 Creating a folder on the host for a docker volume
4:27 Port forwarding for the postgres container and pgAdmin container
5:38 Running the containers with docker-compose up
6:10 Accessing pgAdmin from the web browser
6:50 Connecting to the postgreSQL server from pgAdmin
Рекомендации по теме
Комментарии
Автор

Thank you very much, this video saved me from a two-day bug, really good content, congratulations on the teaching

pedromakengo
Автор

Man you were really good. Everything was clear and understandable and easy to follow along

beforeyourimmigrants
Автор

so many other vids got me doin a docker inspect on the container to get the bloody ip address. was as simple as using the service name i set in docker-compose. nice vid mate. life saver.

trentcox
Автор

The "db" part for the hostname/address in the pgadmin Connection tab was not expected! I thought it would be "localhost" instead.
Thank you!

pavfrang