https://github.com/bytemedirk/apache-airflow-dev-server
A Dockerised Apache Airflow Webserver
https://github.com/bytemedirk/apache-airflow-dev-server
Last synced: over 1 year ago
JSON representation
A Dockerised Apache Airflow Webserver
- Host: GitHub
- URL: https://github.com/bytemedirk/apache-airflow-dev-server
- Owner: ByteMeDirk
- Created: 2021-11-26T12:54:23.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-19T06:42:08.000Z (over 2 years ago)
- Last Synced: 2025-01-13T10:50:01.148Z (over 1 year ago)
- Language: Dockerfile
- Size: 7.81 KB
- Stars: 9
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# apache-airflow-dev-server
A Dockerized Apache Airflow Webserver using Airflow`latest` with Python`3.8` & PostgreSQL`10`.
.env file contains:
```
AIRFLOW__CORE__LOAD_DEFAULT_CONNECTIONS=False
AIRFLOW__CORE__SQL_ALCHEMY_CONN=postgres+psycopg2://airflow:airflow@postgres:5432/airflow
AIRFLOW__CORE__FERNET_KEY=81HqDtbqAywKSOumSha3BhWNOdQ26slT6K0YaZeZyPs=
AIRFLOW_CONN_METADATA_DB=postgres+psycopg2://airflow:airflow@postgres:5432/airflow
AIRFLOW_VAR__METADATA_DB_SCHEMA=airflow
AIRFLOW__SCHEDULER__SCHEDULER_HEARTBEAT_SEC=5
AIRFLOW__CORE__EXECUTOR=LocalExecutor
```
Run `docker-compose -f docker-compose.yml up --build` and find the local dev server on `localhost:8080`.
Note: if compose refuses to build with unknown permission issues; `chmod +x` usually for `airflow-entrypoint.sh`