klionvacations.blogg.se

Airflow docker file
Airflow docker file







plugins:/opt/airflow/plugins - /var/run/docker.sock:/var/run/docker. plugins:/opt/airflow/plugins - /var/run/docker.sock:/var/run/docker.sock command: airflow worker depends_on: plugins:/opt/airflow/plugins - /var/run/docker.sock:/var/run/docker.sock command: airflow scheduler deploy:Ĭondition: on- failure delay: 8s max_attempts: 3 networks: logs:/opt/airflow/logs command: airflow flower networks: Image: apache/airflow:1.10.15-python3.8 environment:Ĭondition: on- failure delay: 8s max_attempts: 3 volumes: Interval: 30s timeout: 30s retries: 3 networks: postgres - redis command: airflow webserver healthcheck: plugins:/opt/airflow/plugins - /var/run/docker.sock:/var/run/docker.sock deploy:Ĭondition: on- failure delay: 8s max_attempts: 3 depends_on: <<: *airflow-common-env image: apache/airflow:1.10.15-python3.8 ports: REDIS_HOST: redis REDIS_PORT: 6379 ports: var/run/docker.sock:/var/run/docker.sock - volume-postgresql:/var/lib/postgresql/data/pgdata - volume-postgresql:/var/lib/postgresql/data/log command: > postgres POSTGRES_USER=airflow - POSTGRES_DB=airflow - POSTGRES_PASSWORD=airflow - PGDATA=/var/lib/postgresql/data/pgdata ports: plugins:/opt/airflow/plugins - /var/run/docker.sock:/var/run/docker.sock any: &airflow-common-env AIRFLOW_UID: 501 AIRFLOW_CORE_EXECUTOR: CeleryExecutor AIRFLOW_CORE_EXPOSE_CONFIG: True AIRFLOW_WEBSERVER_RBAC: False AIRFLOW_CORE_CHECK_SLAS: False AIRFLOW_CORE_STORE_SERIALIZED_DAGS: False AIRFLOW_CORE_PARALLELISM: 50 AIRFLOW_CORE_LOAD_EXAMPLES: False AIRFLOW_CORE_LOAD_DEFAULT_CONNECTIONS: False AIRFLOW_SCHEDULER_SCHEDULER_HEARTBEAT_SEC: 10 AIRFLOW_CELERY_BROKER_URL: AIRFLOW_CELERY_RESULT_BACKEND: AIRFLOW_CORE_SQL_ALCHEMY_CONN: AIRFLOW_CORE_FERNET_KEY: P_gYHVxUHul5GNhev_Pde-Kr8qvCeurfSCF9OT7cJQM= volumes: # yamlの問題より、Sequenseは展開できませんが、一応記載 &airflow-common-vol.

AIRFLOW DOCKER FILE INSTALL

You can install it directly on your Operating System (OS) or using a Docker. &airflow-common image: apache/airflow:1.10.15-python3.8 environment: This chapter requires that Airflow is installed on your local machine.







Airflow docker file