heorhii-bolotov / airflow_sandbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

airflow-first-look

make init # open web localhost:8080, login and password "airflow"
docker-compose ps # health check
docker logs materials_name_of_the_container # troubleshoot container

# Restart the container
docker-compose down
docker-compose up -d

# flower localhost:5555/dashboard

Prerequisites

Add .env file before running docker-compose

AIRFLOW_IMAGE_NAME=apache/airflow:2.3.0
AIRFLOW_UID=1001
AIRFLOW_GID=0

Notification

Setup password fot mail app - https://security.google.com/settings/security/apppasswords

In airflow.cfg

smtp_host = smtp.gmail.com
smtp_user = [your email address] 
smtp_password = [copy from the step before]
smtp_port = 587
smtp_email_from = [your email address] 

Troubleshoot

About


Languages

Language:Python 87.0%Language:Makefile 11.5%Language:Dockerfile 1.0%Language:Shell 0.5%