cnstlungu/portable-data-stack-mage has 55 GitHub stars and 11 forks. GitHot measured 0 in 7 days and 0 in 15 days. Last checked 2026-11-11 10:54 UTC. Last push 2026-10-26.
A portable Datamart and Business Intelligence suite built with Docker, Mage, dbt, DuckDB and Superset
計測したスター増加
- 24時間
- 更新が遅れています
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルPortable Data Stack with Mage
This application is a containerized Analytics suite for an imaginary company selling postcards. The company sells both directly but also through resellers in the majority of European countries.
Stack
- Mage
- 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 orchestration options using the same dbt-core model check the below:
Implementations with different tools, not using the dbt-core model:
System requirements
Setup
Rename
.env.examplefile to.envand set your desired Superset 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 --buildOnce the Docker suite has finished loading, open up Mage , click on the pipeline
grateful flowerand create aRun@oncetrigger.
Default credentials for mage: Email [email protected] Password admin.



- When the actions have completed, you can open the Superset interface
Demo Credentials
Demo credentials are set in the .env file mentioned above.
Ports exposed locally
- Mage: 6789
- Superset: 8088
Generated Parquet are saved in the shared/parquet 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 - Parquet files - using Python (generator)
- Import data from parquet files to staging area in the Data Warehouse (DuckDB), orchestrated by Mage
- 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 set in the .env file: 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 Mage runs it. Edits you make there survive restarts; they are replaced only whenDATAMART_REFmoves to a different version of the model. - mage: this is the orchestrator tool that will trigger the ETL tasks; its GUI is locally available on port 6789;
- 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 Mage GUI (locally: localhost:6789) to view the orchestration of our tasks.
After the DAGs have completed 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:
関連プロジェクトを探す
Asabeneh/30-Days-Of-Python
30 Days of Python プログラミングチャレンジは、Python プログラミング言語を 30 日で学ぶためのステップバイステップのガイドです。このチャレンジは 100 日以上かかることもあります。自分のペースで進めてください。こちらの動画も役立つかもしれません: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,560 スターgrafana/grafana
オープンで組み合わせ可能なオブザーバビリティおよびデータ可視化プラットフォームです。Prometheus、Loki、Elasticsearch、InfluxDB、Postgres など、複数のソースからメトリクス、ログ、トレースを可視化できます。
77,830 スターredis/redis
リアルタイムのデータ駆動型アプリケーションを構築する開発者にとって、Redis は最も選ばれ、最速で、機能が最も豊富なキャッシュ、データ構造サーバー、ドキュメントおよびベクトルクエリエンジンです。
77,395 スターapache/superset
Apache Superset は、データ可視化とデータ探索のためのプラットフォームです。
75,473 スター