In order to deploy this tutorial the following hardware and software requirements must be met.
- Memory: 16 GB RAM
- Processor: Intel(R) Core(TM) i5-6500 or greater / AMD Ryzen 5 3600 or greater
- Storage: 15 GB available space
- Docker version >= 27.4.0
- Docker-compose version >= 2.29.2
To install the project, run the following steps:
-
Run database migrations and create the first user account
docker compose up airflow-init -
Initiate Airflow with:
docker compose --profile flower up -d
After the compose builds the project, the tutorial's services will be available at:
| Service | URL |
|---|---|
| Airflow Web Interface | http://localhost:8080 |
| MlFlow | http://localhost:5000 |
| Flower | http://localhost:5555 |
| Spark Master | http://localhost:8090 |
| Mongo Express | http://localhost:28081 |
- Navigate to Airflow's web interface
- Log in with
username: airflowandpassword: airflow - Navigate into the connections section in admin dropdown.
- Click the add new record option
- Set
Connection Idto mongo_default - Select MongoDB in
Connection typedropdown menu - Provide
Host,Username,PasswordandPortin accordance with the .env file. - Save connection
