Skip to content

jksinghpro/docker-airflow

Repository files navigation

Docker-airflow with MySql as backend

This repository contains Dockerfile of apache-airflow .

Informations

Build

For Building the docker container for airflow you first need to build the docker image using the dockerfile added in the repository.For adding Extra Packages edit the docker file and then build.

docker build --rm -t jksingh/docker-airflow .

Don't forget to update the airflow images in the docker-compose files to jksingh/docker-airflow:latest.

Usage

By default, docker-airflow runs Airflow with SequentialExecutor :

docker run -d -p 8080:8080 jksingh/docker-airflow webserver

If you want to run another executor, use the other docker-compose files provided in this repository.

For LocalExecutor :

docker-compose -f docker-compose-mysql-local.yml up -d

For CeleryExecutor :

docker-compose -f docker-compose-mysql-celery.yml up -d

NB : If you want to have DAGs example loaded (default=False), you've to set the following environment variable :

LOAD_EX=n

docker run -d -p 8080:8080 -e LOAD_EX=y jksingh/docker-airflow

UI Links

Issues

Releases

No releases published

Packages

No packages published