cnstlungu/portable-data-stack-dagster
cnstlungu/portable-data-stack-dagster has 266 GitHub stars and 46 forks. GitHot measured 0 in 7 days and -1 in 15 days. Last checked 2026-11-11 10:54 UTC. Last push 2026-10-26.
So werden diese Zahlen gemessen
A portable Datamart and Business Intelligence suite built with Docker, Dagster, dbt, DuckDB and Superset
Gemessener Sternzuwachs
- in 24h
- Aktualisierung verzögert
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalPortable Data Stack
This application is an Analytics suite for an imaginary company selling postcards. The company sells both directly but also through resellers in the majority of European countries.
Stack
- Dagster
- Docker (Docker Compose)
- DuckDB
- dbt core
- Superset
Interested in the data model?
Generation of example data and the underlying dbt-core model is available in the postcard-company-datamart project
For other stacks using the same dbt-core model, check the below:
Implementations with other tools with a different model:
For the legacy version involving OLTP, CSV and JSON sources, check out the legacy-oltp branch.
System requirements
Setup
Rename
.env.examplefile to.envand set your desired password. Remember to never commit files containing passwords or any other sensitive information.The
SUPERSET_SECRET_KEYin.env.exampleis a placeholder that every fork of this repository shares, and Superset signs session cookies with it. Generate your own before the stack is reachable by anyone but you:openssl rand -base64 42Rename
shared/db/datamart.duckdb.exampletoshared/db/datamart.duckdbor init an empty database file there with that name.With Docker Engine installed, change directory to the root folder of the project (also the one that contains docker-compose.yml) and run
docker compose up --buildNote that this may take several minutes to completed. Check out the console to see when the Dagster interface is ready.
Once the Docker suite has finished loading, open up Dagster (dagit) , go to
Assets, select all and clickMaterialize selected

- When the assets have been materialized, you can open the Superset interface
Demo Credentials
Demo credentials are set in the .env file mentioned above.
Ports exposed locally
- Dagster (dagit): 3000
- Superset: 8088
Generated parquet files are saved in the shared folder.
The data is fictional and automatically generated. Any similarities with existing persons, entities, products or businesses are purely coincidental.
General flow
- Generate test data as parquet files using Python
- Import data to the staging area in the Data Warehouse (DuckDB), orchestrated by Dagster
- Model data, build fact and dimension tables, load the Data Warehouse using dbt
- installs dbt dependencies
- seeds the database with static data (e.g. geography)
- runs the model
- tests the model
- Analyze and visually explore the data using Superset or directly query the Data Warehouse database instance
For superset, the default credentials are: user = admin, password = admin
Overview of architecture
The Docker process will begin building the application suite. The suite is made up of the following components, each within its own docker container:
- generator: a Python script, from the postcard-company-datamart project, that generates the example data and exports it to parquet files
- dbt: copies the data model from the postcard-company-datamart project into
dbt/postcard_company, where Dagster runs it. Edits you make there survive restarts; they are replaced only whenDATAMART_REFmoves to a different version of the model. - dagster: this is the orchestrator tool that will trigger the ETL tasks; its GUI is locally available on port 3000;
- superset: this contains the web-based Business Intelligence application we will use to explore the data; exposed on port 8088; built from the postcard-company-datamart project, dashboard included.
The generator, the dbt project and Superset with its dashboard are not kept in this
repository. Docker builds them straight from postcard-company-datamart, by git URL, at the tag
set by DATAMART_REF in docker-compose.yml, so every portable data stack
runs the same model and the same dashboard. To build from a newer tag or a
branch instead:
DATAMART_REF=main docker compose build
Once the Docker building process has completed, we may open the Dagster GUI (locally: localhost:3000) to view and materialize our assets.

After the assets have been materialized you can either analyze the data using the querying and visualization tools provided by Superset (available locally on port 8088), or query the Data Warehouse (available as a DuckDB Database)

Credits
Inspired by:
Ähnliche Projekte entdecken
Asabeneh/30-Days-Of-Python
Die Programmier-Challenge 30 Days of Python ist eine Schritt-für-Schritt-Anleitung, um die Programmiersprache Python in 30 Tagen zu lernen. Diese Challenge kann mehr als 100 Tage dauern. Gehe in deinem eigenen Tempo vor. Diese Videos können ebenfalls helfen: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,560 Sternegrafana/grafana
Offene und kombinierbare Plattform für Observability und Datenvisualisierung. Visualisiert Metriken, Logs und Traces aus mehreren Quellen wie Prometheus, Loki, Elasticsearch, InfluxDB, Postgres und vielen weiteren.
77,830 Sterneredis/redis
Für Entwickler, die echtzeitfähige, datengesteuerte Anwendungen erstellen, ist Redis der bevorzugte, schnellste und funktionsreichste Cache, Datenstrukturserver und die entsprechende Abfrageengine für Dokumente und Vektoren.
77,395 Sterneapache/superset
Apache Superset ist eine Plattform für Datenvisualisierung und Datenexploration.
75,473 Sterne