cp .env.example .env
docker compose up
PGPASSWORD=postgres psql -U postgres -d dvdrental -h localhost -p 15432
Sample database from postgresql tutorial.
curl -LO https://www.postgresqltutorial.com/wp-content/uploads/2019/05/dvdrental.zip
unzip dvdrental.zip
PGPASSWORD=postgres pg_restore -U postgres -h localhost -p 15432 -d dvdrental dvdrental.tar