Commit 6310e27b authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

fix(flower): 更新healthcheck命令以包含基本认证

parent 69b99603
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -439,13 +439,13 @@ services:
  # See: https://docs.docker.com/compose/profiles/
  flower:
    <<: *airflow-common
    command: celery flower --address=0.0.0.0 --port=5555
    command: celery flower -H 0.0.0.0 -p 5555
    profiles:
      - master
    ports:
      - "35555:5555"
    healthcheck:
      test: ["CMD", "curl", "--fail", "http://localhost:5555/"]
      test: ["CMD-SHELL", "curl --fail -u \"$${AIRFLOW__CELERY__FLOWER_BASIC_AUTH}\" http://localhost:5555/ >/dev/null || exit 1"]
      interval: 30s
      timeout: 10s
      retries: 5