Skip to main content

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'
}

Release files for airflow-docker-compose 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for airflow-docker-compose 0.2.0
File Size Uploaded
airflow_docker_compose-0.2.0.tar.gz 14.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for airflow-docker-compose 0.2.0
File Interpreter ABI Platform
airflow_docker_compose-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.6 kB

Release files / airflow_docker_compose-0.2.0.tar.gz

Download URL airflow_docker_compose-0.2.0.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
eba8c5eb13464d8e8b3d7cdda98d688707f6a97309be0f56fb16574ecf1b26a7
BLAKE2b-256 checksum
How to use checksums
81de24e6f79c85df8f5d053e4ac1b7bb3e23d63674e17e8c67980c0eb4093f7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.10.6 Darwin/21.6.0

Release files / airflow_docker_compose-0.2.0-py3-none-any.whl

Download URL airflow_docker_compose-0.2.0-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49ee1d31cb9e3b21856cb168b1a88c5e91f718c3f5ee5facd70bff4e80c2ea02
BLAKE2b-256 checksum
How to use checksums
1d4a8b092a8e5e383bdc6a31114c56c946b8965de40803f409a6fb17ead640e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.10.6 Darwin/21.6.0

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page