Skip to content

Instantly share code, notes, and snippets.

Yehonatan Tsirolnik tsirolnik

Block or report user

Report or block tsirolnik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tsirolnik /
Last active Jul 21, 2018
Connecting Docker Compose PostgreSQL Container to PgAdmin
  • Run your compose with docker compose up
  • Get the name of your compose network with docker network ls
    • The network name will be in the format of <project>_default unless changed
  • Run the pgadmin command
    • docker run --net <compose_network> -v pgadmin4:/home/pgadmin/.pgadmin -p 5050:5050 --link <pg_container_name>:<pg_container_name> --rm meedan/pgadmin
  • Browse to http://localhost:5050/
  • Login with -

This is based on the following sources -

You can’t perform that action at this time.