1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-10 04:19:24 +02:00
dockerfiles/airflow/deprecated/docker-compose-worker.yml

21 lines
470 B
YAML
Raw Normal View History

2018-07-25 11:57:33 +02:00
version: '2.1'
services:
worker:
2019-09-08 00:29:47 +02:00
image: puckel/docker-airflow:1.10.4
2018-07-25 11:57:33 +02:00
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