- docker >= 17.12.0+
- docker-compose
- Clone or download this repository
- Go inside of directory,
cd compose-postgres
- Run this command
docker-compose up -d
This Compose file contains the following environment variables:
POSTGRES_USER
the default value is adminPOSTGRES_PASSWORD
the default value is adminPGADMIN_PORT
the default value is 5050PGADMIN_DEFAULT_EMAIL
the default value is adminPGADMIN_DEFAULT_PASSWORD
the default value is admin
localhost:5432
- Username: admin (as a default)
- Password: admin (as a default)
- URL:
http://localhost:5050
- Username: admin@mail.jp (as a default)
- Password: admin (as a default)
- Host name/address
postgres
- Port
5432
- Username as
POSTGRES_USER
, by default:admin
- Password as
POSTGRES_PASSWORD
, by defaultadmin