dagagent

command module
v0.0.0-...-7fa050e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

dagagent

Airflow DAG Agent.

Build

% docker build -t dagagent -f docker/Dockerfile .

Configuration

Add the following configuration to airflow/docker-compose.yaml.

...
  dagagent:
    image: dagagent:latest
    ports:
      - 1323:1323
    environment:
      AIRFLOW__CORE__DAGS_FOLDER: /opt/airflow/dags
      _AIRFLOW_WWW_USER_USERNAME: airflow
      _AIRFLOW_WWW_USER_PASSWORD: airflow
    volumes_from:
      - airflow-webserver:rw
    healthcheck:
      test: ["CMD", "curl", "--fail", "http://airflow:airflow@localhost:1323/health"]
      interval: 10s
      timeout: 10s
      retries: 5
    restart: on-failure
...

API Documentation

Create and start containers, and browser to http://localhost:1323/swagger/index.html.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL