Skip to content

Borreguin/ApacheAirflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APACHE AIRFLOW DOCKER

This docker needs more than 4 GB RAM.

This project follows some tutorials:

Here a summary of instructions:

  1. Create folders: mkdir ./dags ./plugins ./logs
  2. Create .env file to give permissions: echo -e "AIRFLOW_UID=$(id -u) \nAIRFLOW_GID=0" > .env
  3. Run the docker container: docker-compose up airflow-init
  4. Once the airflow user was created then run: docker-compose up

In case you want to connect to the Postgresql DB:

Credentials: user: airflow, pass: airflow

  1. Check which port is open for the postgres service. Click here:
  2. Test the connection using any DB Manager: DBManager
  3. In AirFlow create the connection as follows: AirFlowConnection

To configure for sending emails:

  1. Search section [smtp] in file airflow.cfg
  2. Fill this section according this explanation
  3. Allow your account send emails: Enable IMAP for your account

About

Docker for Apache Airflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published