Giter VIP home page Giter VIP logo

airflow-docker's Introduction

airflow-docker

Airflow Docker with pip installation using requirement.txt and using DAG from cloned repository

Requirement

  • Install Docker Community Edition (CE).
  • Install Docker Compose v1.29.1 or newer.

Note: Older versions of docker-compose do not support all the features required by the Airflow docker-compose.yaml file, so please ensure that your version meets the minimum requirements.

Installation

  1. Clone the Airflow Docker repository.
  2. Open the terminal inside the working directory of Airflow Docker.
  3. Clone the pws-dag-operation repository, please change volume section in docker compose file same as folder your dag file in my case pws-dag-operation.
  4. Run the following command: docker build . --tag extending_airflow:latest.
  5. Run docker-compose up.

Additional pip install requirement

  1. Open requirement.txt
  2. add library
  3. run Installation step 4 and 5

Open Airflow UI

  1. Open localhost:8080 in your web browser.
  2. Login using the following credentials:
    • Username: airflow
    • Password: airflow

Disable example DAG

inside docker-compose.yaml change AIRFLOW__CORE__LOAD_EXAMPLES: 'false'

Troubleshooting

If you encounter any errors during installation, please contact me or raise issue for assistance.

airflow-docker's People

Contributors

rikiafifuddin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.