项目作者: marclamberti

项目描述 :
Docker Airflow - Contains a docker compose file for Airflow 2.0
高级语言:
项目地址: git://github.com/marclamberti/docker-airflow.git
创建时间: 2021-01-05T13:40:28Z
项目社区:https://github.com/marclamberti/docker-airflow

开源协议:

下载


docker-airflow

This repository contains a Docker Compose File of apache-airflow for Docker‘s automated build published to the public Docker Hub Registry.

Informations

Installation

Pull the image from the Docker repository.

  1. docker pull apache/airflow:2.0.0

Usage

By default, docker-airflow runs Airflow with LocalExecutor :

  1. docker-compose -f docker-compose.yml up -d

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

AIRFLOW__CORE__LOAD_EXAMPLES

in docker-compose.yml

If you want to use Ad hoc query, make sure you’ve configured connections:
Go to Admin -> Connections and Edit “postgres_default” set this values (equivalent to values in airflow.cfg/docker-compose*.yml) :

  • Host : postgres
  • Schema : airflow
  • Login : postgres
  • Password : postgres

Enjoy!