Create docker images for PostgreSQL and PGAdmin
- cd into the
composedirectory - run
docker-compose up -dto start the containers in detached mode - launch PGAdmin in browser ->
http://localhost:8081 - Add a new server in PGAdmin and give it a name
- add these connection properties:
- Host: postgres
- Port: 5432
- Username: admin@admin.com (as set in POSTGRES_USER).
- Password: admin (as set in POSTGRES_PASSWORD).
- credentials are simple because this a for a local dev environment