postgres-by-example

View the Project on GitHub apoclyps/postgres-by-example

Setup

Configuration

Replace .env with your own preferred username and password for Postgres otherwise a default of postgres/postgres will be used for the username and password.

POSTGRES_USE=postgres
POSTGRES_PASSWORD=postgres

Build

docker-compose build

Run

docker-compose up

Connect to Postgres

psql postgres://postgres:example@0.0.0.0:5432

Connect to Adminer

http://localhost:8080

Shutdown

docker-compose down