Skip to content

masfworld/training-meltano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meltano Project with Docker Compose, PostgreSQL, and pgAdmin

This repository contains the configuration for setting up a Meltano project with PostgreSQL using Docker Compose. Additionally, it provides a web-based UI for PostgreSQL management via pgAdmin.

Prerequisites

Ensure you have the following installed on your machine:

Setup Instructions

  1. Clone the Repository

    git clone https://github.com/masfworld/training-meltano.git
  2. Create Docker Containers

    docker compose up -d
  3. Log in meltano container

    docker exec -it training-meltano-meltano-1 /bin/bash
  4. Init Project

    meltano init my_project
    export MELTANO_PROJECT_ROOT=/project/my_project
  5. Adding extractor

    meltano add extractor tap-google-sheets
    meltano config tap-google-sheets set --interactive

    You need to configure

    • Client ID
    • Client Secret
    • Refresh Token
    • Sheet id
  6. Adding Loader

    meltano add loader target-postgres
    meltano config target-postgres set --interactive

    You need to configure

    • host = postgres
    • database = meltano_loader
    • username = myuser
    • password = mypassword
    • port = 5432
  7. Execute pipeline

    meltano elt tap-google-sheets target-postgres

About

Docker compose to run a basic example with Meltano

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published