Skip to content

utksngh/postgres-data-populator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Postgres Data Populator with Docker

This project provides a Dockerized environment to populate a PostgreSQL database with 1 million rows of fake data using Python and Faker. The project uses Docker Compose to manage the database and Python services.

Setup Instructions

Step 1: Clone the Repository

Start by cloning the repository to your local machine:

git clone https://github.com/utksngh/postgres-data-populator.git
cd postgres-data-populator

Step 2: Build the Docker Containers

docker-compose build

Step 3: Start the Containers

docker-compose up

Accessing the Database

docker exec -it postgres_db psql -U user -d test_db
SELECT COUNT(*) FROM test_table;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published