Skip to main content

No project description provided

Project description

airflow-docker-compose

CircleCI codecov

Description

A reasonably light wrapper around docker-compose to make it simple to start a local airflow instance in docker.

Usage

airflow-docker-compose --help
airflow-docker-compose up

Configuration

Note, this library assumes the docker-compose utility is available in your path.

In order to use this tool, you should have a local dags folder containing your dags. You should also have a pyproject.toml file which minimally looks like

[tool.airflow-docker-compose]
docker-network = 'network-name'

In order to set airflow configuration, you can use the airflow-environment-variables key. This allows you to set any airflow.cfg variables like so:

[tool.airflow-docker-compose]
airflow-environment-variables = {
    AIRWFLOW_WORKER_COUNT = 4
    AIRFLOW__AIRFLOWDOCKER__FORCE_PULL = 'false'
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airflow_docker_compose-0.2.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airflow_docker_compose-0.2.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file airflow_docker_compose-0.2.0.tar.gz.

File metadata

  • Download URL: airflow_docker_compose-0.2.0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.6 Darwin/21.6.0

File hashes

Hashes for airflow_docker_compose-0.2.0.tar.gz
Algorithm Hash digest
SHA256 eba8c5eb13464d8e8b3d7cdda98d688707f6a97309be0f56fb16574ecf1b26a7
MD5 ab5c9964b2f1aa56f9c0fb8214bba0f0
BLAKE2b-256 81de24e6f79c85df8f5d053e4ac1b7bb3e23d63674e17e8c67980c0eb4093f7b

See more details on using hashes here.

File details

Details for the file airflow_docker_compose-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for airflow_docker_compose-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 49ee1d31cb9e3b21856cb168b1a88c5e91f718c3f5ee5facd70bff4e80c2ea02
MD5 ef82ca43271e79b57e930df9be33cac4
BLAKE2b-256 1d4a8b092a8e5e383bdc6a31114c56c946b8965de40803f409a6fb17ead640e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page