Prerequisites #īefore we dive into some CLI commands and a bit of code below are some prerequisites best to have: In the following section, we will look into some good to have things before diving into the commands to run Postgres with Docker. You can read more about this on why to use docker. When a new team member joins, the new member can get started in hours, it does not take days to be productive.Generally with docker if it runs on your machine it will run for your friend, on a staging environment and production environment given the version compatibility is maintained.Using multiple versions of PostgreSQL as per project or any other need is very easy.There are many good reasons to use any database like Postgres with Docker for local development, below are some good reasons:
![postgres app or postgres postgres app or postgres](https://i.stack.imgur.com/ikXj9.png)
Why use Postgres with docker for local development # Adding Postgres with Docker to an existing Node.js project.Why use Postgres with docker for local development.
#POSTGRES APP OR POSTGRES HOW TO#
In this post, we will look into how to run and use Postgres with Docker and Docker compose step-by-step keeping things simple and easy. Running Postgres with Docker and docker-compose makes it very easy to run and maintain especially in a development environment. This official feature matrix shows the wealth of features Postgres has.
![postgres app or postgres postgres app or postgres](https://d33wubrfki0l68.cloudfront.net/b3fdff86bb93ae907ce075abc5ea426bc9359cc5/25c54/assets/images/heroku_resources_add_postgres_free.png)
Postgres (a.k.a PostgreSQL) is an open-source, standards-compliant, and object-relational database been developed for more than 30 years now. Docker has shot up in popularity over the years.