Loading docker-celery-3.0.5/docker-compose.yaml +24 −24 Original line number Diff line number Diff line Loading @@ -180,30 +180,30 @@ services: airflow-init: condition: service_completed_successfully airflow-worker: <<: *airflow-common command: celery worker healthcheck: # yamllint disable rule:line-length test: - "CMD-SHELL" - 'celery --app airflow.providers.celery.executors.celery_executor.app inspect ping -d "celery@$${HOSTNAME}" || celery --app airflow.executors.celery_executor.app inspect ping -d "celery@$${HOSTNAME}"' interval: 30s timeout: 10s retries: 5 start_period: 30s environment: <<: *airflow-common-env # Required to handle warm shutdown of the celery workers properly # See https://airflow.apache.org/docs/docker-stack/entrypoint.html#signal-propagation DUMB_INIT_SETSID: "0" restart: always depends_on: <<: *airflow-common-depends-on airflow-apiserver: condition: service_healthy airflow-init: condition: service_completed_successfully # airflow-worker: # <<: *airflow-common # command: celery worker # healthcheck: # # yamllint disable rule:line-length # test: # - "CMD-SHELL" # - 'celery --app airflow.providers.celery.executors.celery_executor.app inspect ping -d "celery@$${HOSTNAME}" || celery --app airflow.executors.celery_executor.app inspect ping -d "celery@$${HOSTNAME}"' # interval: 30s # timeout: 10s # retries: 5 # start_period: 30s # environment: # <<: *airflow-common-env # # Required to handle warm shutdown of the celery workers properly # # See https://airflow.apache.org/docs/docker-stack/entrypoint.html#signal-propagation # DUMB_INIT_SETSID: "0" # restart: always # depends_on: # <<: *airflow-common-depends-on # airflow-apiserver: # condition: service_healthy # airflow-init: # condition: service_completed_successfully airflow-triggerer: <<: *airflow-common Loading Loading
docker-celery-3.0.5/docker-compose.yaml +24 −24 Original line number Diff line number Diff line Loading @@ -180,30 +180,30 @@ services: airflow-init: condition: service_completed_successfully airflow-worker: <<: *airflow-common command: celery worker healthcheck: # yamllint disable rule:line-length test: - "CMD-SHELL" - 'celery --app airflow.providers.celery.executors.celery_executor.app inspect ping -d "celery@$${HOSTNAME}" || celery --app airflow.executors.celery_executor.app inspect ping -d "celery@$${HOSTNAME}"' interval: 30s timeout: 10s retries: 5 start_period: 30s environment: <<: *airflow-common-env # Required to handle warm shutdown of the celery workers properly # See https://airflow.apache.org/docs/docker-stack/entrypoint.html#signal-propagation DUMB_INIT_SETSID: "0" restart: always depends_on: <<: *airflow-common-depends-on airflow-apiserver: condition: service_healthy airflow-init: condition: service_completed_successfully # airflow-worker: # <<: *airflow-common # command: celery worker # healthcheck: # # yamllint disable rule:line-length # test: # - "CMD-SHELL" # - 'celery --app airflow.providers.celery.executors.celery_executor.app inspect ping -d "celery@$${HOSTNAME}" || celery --app airflow.executors.celery_executor.app inspect ping -d "celery@$${HOSTNAME}"' # interval: 30s # timeout: 10s # retries: 5 # start_period: 30s # environment: # <<: *airflow-common-env # # Required to handle warm shutdown of the celery workers properly # # See https://airflow.apache.org/docs/docker-stack/entrypoint.html#signal-propagation # DUMB_INIT_SETSID: "0" # restart: always # depends_on: # <<: *airflow-common-depends-on # airflow-apiserver: # condition: service_healthy # airflow-init: # condition: service_completed_successfully airflow-triggerer: <<: *airflow-common Loading