Setup postgres and pg-admin in docker compose

preview_player
Показать описание
In this video I am going to show you how to Setup postgres and pg-admin in docker compose.

docker cmd:

discord:

Twiiter
Рекомендации по теме
Комментарии
Автор

It helped me a lot to configure the environment with Postgres without having to install on the machine, and run tests.
Thank you!

leandroaraujo
Автор

Hey, Friend!
This video helped me a lot!
Thanks!

GiovannyJCarvalho
Автор

@3:00
I have had issues with mounting volumes like yours because it's not a folder-based volume and you will run into problems/loose data if you are not careful!
The correct way that has worked for me everytime is;

volumes:
-

DesignDensity
Автор

Thank you dear friend! only you could help me)

mfnbwgh
Автор

@2:47, when setting up the data persistent capability, the host has a folder named "data".
Does it mean that this "data" folder has to be created first before we run the docker-compose up command or docker desktop will create this "data" folder if one does not already exist?
also
@2:24, the place where the environment variables were defined, there is a hyphen "-" in front of every variables eg - POSTGRES_USER
In some youtube videos, when they defined variables in the compose file, no hyphen was use. Is "-" optional?

sorcererstone
Автор

very good video.
which vscode theme are you using?

ThomasPalma
Автор

Thank you for your video! Assume that I have a .tar folder on my local machine (inside Downloads), can I import that file into pgAdmin?

ainigma
Автор

Thank you dear friend! And i have a question: how i connect postgres from dbeaver ?

cuongnguyen-wexf
Автор

I have tried:
as service directly
from docker images
using docker-compose

but unable to connect pgadmin to the psql

officialabdulrehman
Автор

Hy bro, i wanted to change my password in docker compose and i changed but it is always taking previous password, please enlighten me

sumanosti
Автор

This is 2yrs old, .. .we need an update of this same video but adding and integrating Liquibase please

ricardo