This repository provides a Docker Compose setup for running Airflow, dbt, and Metabase together.
- Docker
- Docker Compose
- Poetry
Follow the steps below to set up and run the project.
-
Clone the repository:
git clone https://github.com/alfredosa/airflow-dbt-metabase.git cd airflow-dbt-metabase
-
Install project dependencies using Poetry:
pip install poetry # if you are missing poetry
poetry install
- Create a
.env
file and provide the necessary environment variables. An example is provided in
cp .env.example .env
Additionally, you can customize other environment variables based on your requirements.
- Start the application using Docker Compose:
docker-compose up -d
This will build and start the required containers defined in the docker-compose.yml
file.
5a. Medium guide for this repo:
- Access Airflow:
Open your browser and visit http://localhost:8080 to access the Airflow UI.
Run the pipeline pokemon_dbt_dag.py!
- Access Metabase:
Open your browser and visit http://localhost:3030 to access the Metabase UI.
- Docker Compose: https://docs.docker.com/compose/
- Poetry: https://python-poetry.org/
- Cosmos: https://github.com/astronomer/astronomer-cosmos
Specify the license for your project.