connect pgAdmin to postgreSql - docker

preview_player
Показать описание
see code below

version: '3.7'
services:
postgres:
image: postgres:9.6
environment:
- POSTGRES_USER=airflow
- POSTGRES_PASSWORD=airflow
- POSTGRES_DB=airflow
ports:
- 5432:5432
logging:
options:
max-size: 10m
max-file: "3"
pgadmin:
image: dpage/pgadmin4
environment:
- PGADMIN_DEFAULT_EMAIL=your_email_here
- PGADMIN_DEFAULT_PASSWORD=your_password_here
ports:
- "5050:80"
Рекомендации по теме
Комментарии
Автор

Good video solved my problems with wrong installation before this video

amunet
Автор

Thanks!!! this helped me A LOT!! didn't know the "docker inspect" command. Thanks Folk!!

Mathias-cqzo
Автор

Thanks for the video. It helped me a lot. Good job.

TheRenanluna
Автор

finally useful tutorial, thank you :)

wispawelwis
Автор

ممكن تساعدني ياخي ؟ لدي vps عليه docker ولم استطيع الدخول على قاعدة البيانات postgres
i have vps with running docker but i can't or dont know how to connect to postgres db

ihexi
Автор

beatufully explained
though may be you can help out. I am trying to connect to postgres from my app .
And when i run it,
it says Fatal Role (..) does not exist .



what could be the issue ?

antonpotuzhniy