Skip to content

skimonkey/Postgres-PgAdmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Postgresql & PgAdmin powered by compose

Requirements:

  • docker >= 17.12.0+
  • docker-compose

Quick Start

  • Clone or download this repository
  • Go inside of directory, cd compose-postgres
  • Run this command docker-compose up -d

Environments

This Compose file contains the following environment variables:

  • POSTGRES_USER the default value is postgres
  • POSTGRES_PASSWORD the default value is changeme
  • PGADMIN_PORT the default value is 5050
  • PGADMIN_DEFAULT_EMAIL the default value is [email protected]
  • PGADMIN_DEFAULT_PASSWORD the default value is admin

Access to postgres:

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

Access to PgAdmin:

  • URL: http://localhost:5050
  • Username: [email protected] (as a default)
  • Password: admin (as a default)

Configuring PGAdmin

  • Browse to http://localhost:5050/
  • Right Servers and Click Create > Server
  • Add a Name
  • Click the Connection Tab
  • Enter the postgres Service name from the docker-compose file ie 'postgres'

About

Docker-compose file for running postgres and pgAdmin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published