Skip to content

takuti-sandbox/airflow-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testing Apache Airflow

Setup

Running Airflow in Docker:

curl -LfO 'https://airflow.apache.org/docs/apache-airflow/2.2.3/docker-compose.yaml'

Comment image: and uncomment build: ., so that the containers are created based on an extended Dockerfile:

version: '3'
x-airflow-common:
  &airflow-common
  # In order to add custom dependencies or upgrade provider packages you can use your extended image.
  # Comment the image line, place your Dockerfile in the directory where you placed the docker-compose.yaml
  # and uncomment the "build" line below, Then run `docker-compose build` to build the images.
  # image: ${AIRFLOW_IMAGE_NAME:-apache/airflow:2.2.3}
  build: .
  environment:
    &airflow-common-env
    ...

Usage

Edit dags/ and plugins/, which are mounted to the containers.

docker-compose down --volumes --remove-orphans \
    && docker-compose build --no-cache \
    && docker-compose up

http://localhost:8080/ (Username: airflow, Password: airflow)

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published