mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-31 10:07:24 +01:00
add airflow
This commit is contained in:
20
airflow/docker-compose-worker.yml
Normal file
20
airflow/docker-compose-worker.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
version: '2.1'
|
||||
|
||||
services:
|
||||
|
||||
worker:
|
||||
image: puckel/docker-airflow:1.9.0-4
|
||||
command: worker
|
||||
hostname: worker1
|
||||
ports:
|
||||
- "8793:8793"
|
||||
volumes:
|
||||
- ./data/airflow/dags:/usr/local/airflow/dags
|
||||
- ./data/airflow/plugins:/usr/local/airflow/plugins
|
||||
environment:
|
||||
- FERNET_KEY=46BKJoQYlPPOexq0OhDZnIlNepKFf87WFwLbfzqDDho=
|
||||
- EXECUTOR=Celery
|
||||
extra_hosts:
|
||||
- "redis:10.99.0.3"
|
||||
- "postgres:10.99.0.3"
|
||||
restart: always
|
||||
Reference in New Issue
Block a user