This docker needs more than 4 GB RAM.
This project follows some tutorials:
Here a summary of instructions:
- Create folders: mkdir ./dags ./plugins ./logs
- Create .env file to give permissions: echo -e "AIRFLOW_UID=$(id -u) \nAIRFLOW_GID=0" > .env
- Run the docker container: docker-compose up airflow-init
- Once the airflow user was created then run: docker-compose up
Credentials: user: airflow
, pass: airflow
- Check which port is open for the postgres service. Click here:
- Test the connection using any DB Manager:
- In AirFlow create the connection as follows:
- Search section
[smtp]
in file airflow.cfg - Fill this section according this explanation
- Allow your account send emails: Enable IMAP for your account