Skip to content

shamimgeek/docker-compose-postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-compose-postgres-pgadmin4

Requirements:

  • docker
  • docker-compose

Quick Start

  • Clone this repository
  • Go to directory, cd docker-compose-postgres
  • Run this command docker-compose -f docker-compose-postgres-pgadmin4.yml up -d

Environment Variables

  • POSTGRES_USER the default value is postgres
  • POSTGRES_PASSWORD the default value is passw0rd
  • PGADMIN_PORT the default value is 8080
  • PGADMIN_DEFAULT_EMAIL the default value is shamim.rhce@gmail.com
  • PGADMIN_DEFAULT_PASSWORD the default value is passw0rd

Access to postgres:

  • localhost:5432
  • Username: postgres (as a default)
  • Password: passw0rd (as a default)

Access to postgres using terminal:

docker exec -it postgres psql -U postgres

for more postgresql commands check here

Access to PgAdmin:

  • URL: http://localhost:8080
  • Username: shamim.rhce@gmail.com (as a default)
  • Password: passw0rd (as a default) pgadmin_login_page

Add a new server in PgAdmin:

  • Host name/address postgres
  • Port 5432
  • Username as POSTGRES_USER, by default: postgres
  • Password as POSTGRES_PASSWORD, by default passw0rd add_server_to_pgadmin1 add_server_to_pgadmin2 add_server_to_pgadmin3

About

Postgresql with pgadmin4 and docker-compose and practice sql

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy