Skip to content

A complete Open-Source Data Platform with ETL, Datawarehouse and Viz

Notifications You must be signed in to change notification settings

datafuel/DataPlatform_docker

Repository files navigation

DataPlatform on Docker Compose

Docker+Compose+Metabase

Docker

About

A complete Open Source Data Platform with ETL, DataWarehouse and DataViz

Prerequisites

  • Docker (started) and docker-compose (just install Docker for Desktop if you are on laptop)

Quickstart

  1. Clone repo git clone https://github.com/datafuel/DataPlatform_docker.git
  2. Run cd DataPlatform_docker
  3. Rename .env.example to .env and replace dummy values with yours
  4. Run docker-compose up then access the services

Make sure to wait at least 30 seconds before launching any service !

Access services

Demo with Covid data

  1. Run docker-compose up

  2. Wait until all services are ready then open http://localhost:8000

  3. Create a File source with the values below (you can input the values of your choice for other fields)

  4. Create a Postgres destination with the values below (you can input the values of your choice for other fields)

    • host : localhost
    • Port : 5433
    • schema : stg
    • database : testdb
    • password : (DWH_POSTGRES_PASSWORD in .env)
    • username : (DWH_POSTGRES_USERNAME in .env)
  5. Create another File source connector with the following arguments :

Run Metabase Configurator

  1. Run docker exec dbt python metabase_setup.py

Run dbt

  1. Run docker exec dbt bash run_dbt.sh

Run dbt-docs website

  1. Run docker exec -d dbt bash serve_dbt_docs.sh You can then access the docs website on http://localhost:4444

Access Adminer

  • host : Name of the service, here postgres_dwh
  • database : testdb
  • password : (DWH_POSTGRES_PASSWORD in .env) (make sure to use 8 characters)
  • username : (DWH_POSTGRES_USERNAME in .env)

Projects that we used

This project use dbt-metabase. gouline is the owner of the code used in /metabt (except Admin Class that was part of the metabase_configurator service).

About

A complete Open-Source Data Platform with ETL, Datawarehouse and Viz

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •