- docker
- docker-compose
- Clone this repository
- Go to directory,
cd docker-compose-postgres
- Run this command
docker-compose -f docker-compose-postgres-pgadmin4.yml up -d
POSTGRES_USER
the default value is postgresPOSTGRES_PASSWORD
the default value is passw0rdPGADMIN_PORT
the default value is 8080PGADMIN_DEFAULT_EMAIL
the default value is [email protected]PGADMIN_DEFAULT_PASSWORD
the default value is passw0rd
localhost:5432
- Username: postgres (as a default)
- Password: passw0rd (as a default)
docker exec -it postgres psql -U postgres
for more postgresql commands check here
- URL:
http://localhost:8080
- Username: [email protected] (as a default)
- Password: passw0rd (as a default)