Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 520 Bytes

File metadata and controls

20 lines (14 loc) · 520 Bytes

Docker compose file to run postgres with pgadmin locally. Not suitable for production

Environment

All username, passwords are stores in the database.env file

Run

  • docker-compose up for foreground
  • docker-compose up -d to run in background

Connect pgAdmin to postgress

1 - go to localhost:5050

2 - login with PGADMIN_DEFAULT_EMAIL and PGADMIN_DEFAULT_PASSWORD in database.env file

3 - Add new Server:

  • Hostname: postgres
  • Username: POSTGRES_USER
  • Password: POSTGRES_PASSWORD