Setting up PostgreSQL Locally
Learn how to set up PostgreSQL locally using docker-compose.
We'll cover the following
Pre-requisites
To spin up a PostgreSQL database locally, you can use Docker. Be sure to install Docker if you haven’t already.
Docker compose
You can follow the steps mentioned below to set up and run the database:
- Create a
docker-compose.yaml
file in the root of the project:
Get hands-on with 1400+ tech skills courses.