This is a simple project that uses a docker-compose.yml
file to set up a PostgreSQL database locally using Docker. By following these steps, you can deploy PostgreSQL on your computer without the need for traditional database downloads.
- Docker Desktop installed on your computer.
-
Clone or download this project to your local machine.
https://github.com/Nick89QA/PostgresInDocker.git
-
Open a terminal or command prompt.
-
Navigate to the project directory where the
docker-compose.yml
file is located. -
Build the Docker container by running the following command:
docker-compose up --build