Skip to content

Spin up any tool or service straight away on your local laptop

License

Notifications You must be signed in to change notification settings

vpankaj97/insta-infra

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

insta-infra

Spin up any tool or service straight away on your local laptop. Tells you how to connect to it.

  • Simple commands
  • Add custom data (i.e startup SQL scripts)
  • Works anywhere
  • Don't worry about startup configuration
  • Don't think about what hostname, port, or credentials to use to connect

How

Start

./run.sh <services>
./run.sh postgres mysql

Example Output

How to connect:
Service   Container To Container  Host To Container  Container To Host
postgres  postgres:5432           localhost:5432     host.docker.internal:5432
mysql     mysql:3306              localhost:3306     host.docker.internal:3306

Connect

./connect.sh <service>
./connect.sh postgres

Shutdown

docker-compose down

Run from anywhere

In your .bashrc, .zshrc, ..., add:

alias insta=<checkout directory>/insta-infra/run.sh

Run source ~/.bashrc or source ~/.zshrc or open a new terminal session. Then you can run:

insta postgres

Custom data

Alter data in data folder.

Persisted data

If any data is persisted from the services to carry across sessions, it gets pushed to folder:

./data/<service>/persist

Services

Service Type Service Supported
Database cassandra
Database elasticsearch
Database mariadb
Database mongodb
Database mysql
Database postgres
Data Catalog marquez
Data Catalog amundsen
Data Catalog datahub
Data Catalog openmetadata
HTTP httpbin
Identity Management keycloak
Job Orchestrator airflow
Job Orchestrator dagster
Job Orchestrator mage-ai
Job Orchestrator prefect
Messaging kafka
Messaging solace
Messaging activemq
Messaging rabbitmq
Object Storage minio
Query Engine duckdb
Query Engine presto
Query Engine trino
Real-time OLAP clickhouse
Real-time OLAP doris
Real-time OLAP druid
Real-time OLAP pinot
Test Data Management data-caterer

About

Spin up any tool or service straight away on your local laptop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 74.0%
  • Python 26.0%