![]() An intermediate understanding of how relational databases work, especially PostgreSQL would be highly beneficial.For this guide, we will use the docker-compose version 1.29.1 on a Mac. Any prior grasp on Docker compose would be useful but not necessary.For this tutorial, docker version 20.10.10 will be used in a Mac. Basic knowledge of Docker will be helpful like executing commands like docker run, execute, etc.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: Why use Postgres with docker for local development # ![]() Adding Postgres with Docker to an existing Node.js project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |