Skip to content

OpsComb/Airflow-Compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Airflow Compose

This repo contains Docker Compose snippets for using Airflow with external Databases and with different brokers.

Setup Database Documentation - https://airflow.apache.org/docs/apache-airflow/stable/howto/set-up-database.html
Configuration Reference - https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html

How to use ?

Airflow needs to run initial migrations in order to setup Database for operations.

Testing:

  1. git clone https://github.com/OpsComb/Airflow-Compose.git
  2. Run docker-compose up
  3. Open this url on your browser -> 127.0.0.1:8080
  4. Login using -> username - airflow-user , password - airflow-pass

Note: docker-compose file at root is not recommended for production use cases

Production:

  1. Head over to mysql(or postgres) depending upon the database service used.
  2. Replace the placeholders (database host, user, password) with relevant values.
  3. Run docker-compose up

About

This repo contains docker-compose files for running Airflow with production mysql/postgres.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •