Took help from: https://github.com/khezen/compose-postgres Made for self-use.
- Clone or download this repository
- Go inside of directory,
cd postgres-docker
- Run this command
docker-compose up --build -d
localhost:5432
- Username: postgres (as a default)
- Password: changeme (as a default)
- URL:
http://localhost:12345
- Username: pgadmin4@pgadmin.org (as a default)
- Password: admin (as a default)
- Host name/address
postgres
- Port
5432
- Username by default:
postgres
- Password by default
changeme