Skip to content

sanya425/airflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pipeline base on airflow

##Installation

  1. Run in the terminal
mkdir ./logs
  1. Initialize the database
docker-compose up airflow-init
  1. Running Airflow
docker-compose up 
  1. Initialize secret backend storage - Vault
#find vault container id
docker ps

docker exec -it VAULT_DOCKER_ID sh

vault login ZyrP7NtNw0hbLUqu7N3IlTdO

vault secrets enable -path=airflow -version=2 kv

vault kv put airflow/variables/slack_token value=T03D2PKRWAU/B03CD1SNQAE/dkEprnaNsutaZmRn1F1g5oIk

Usage

  1. Create file if not exist
touch plugins/run.txt
  1. Follow the link http://localhost:8080/

  2. Turn on DAGs with name "trigger_dag", "dag_id_2" and wait

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages