-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
30 lines (29 loc) · 1.05 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
version: "3.7"
services:
airflow:
build:
context: .
args:
AIRFLOW_DEPS: kubernetes,gcp
image: "mapaction-pipeline-airflow-local:latest"
command: "webserver"
ports:
- "8080:8080"
volumes:
- ./plugins/:/home/airflow/gcs/plugins/
- ./configs/:/home/airflow/gcs/configs/
- ./airflow_logic/:/home/airflow/gcs/airflow_logic/
- ./map_action_logic/:/home/airflow/gcs/map_action_logic/
- ./auxiliary_modules/api_access/:/home/airflow/gcs/api_access/
- ./auxiliary_modules/gcp_settings/:/home/airflow/gcs/gcp_settings/
- ./auxiliary_modules/config_access/:/home/airflow/gcs/config_access/
- ./auxiliary_modules/storage_access/:/home/airflow/gcs/storage_access/
- ./data/:/opt/data/
- ./airflow_logic/dags/:/home/airflow/gcs/dags/
- ./tests/:/home/airflow/gcs/tests/
- ./.flake8:/home/airflow/gcs/.flake8
environment:
AIRFLOW__WEBSERVER__RELOAD_ON_PLUGIN_CHANGE: "True"
AIRFLOW__CORE__DAGS_ARE_PAUSED_AT_CREATION: "True"
ENVIRONMENT: "LOCAL"