From 6546e2f5432fea5251cb59b67fa453eedf42cb68 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Mon, 11 Sep 2023 11:50:12 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(docker-compose.yml):=20upd?= =?UTF-8?q?ate=20flower=20service=20image=20to=20"ogabrielluiz/langflow:la?= =?UTF-8?q?test"=20for=20consistency=20and=20reliability=20=F0=9F=94=A7=20?= =?UTF-8?q?chore(docker-compose.yml):=20add=20build=20configuration=20to?= =?UTF-8?q?=20flower=20service=20to=20use=20base.Dockerfile=20for=20buildi?= =?UTF-8?q?ng=20the=20image=20=F0=9F=94=A7=20chore(docker-compose.yml):=20?= =?UTF-8?q?update=20command=20for=20flower=20service=20to=20use=20the=20co?= =?UTF-8?q?rrect=20broker=20URL=20and=20set=20the=20port=20to=205555=20?= =?UTF-8?q?=F0=9F=94=A7=20chore(docker-compose.yml):=20remove=20unnecessar?= =?UTF-8?q?y=20comment=20at=20the=20end=20of=20the=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/docker-compose.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml index a8ad3247f..23fd4fc15 100644 --- a/deploy/docker-compose.yml +++ b/deploy/docker-compose.yml @@ -140,12 +140,16 @@ services: replicas: 1 flower: - image: mher/flower + image: "ogabrielluiz/langflow:latest" networks: - default + build: + context: ../ + dockerfile: base.Dockerfile environment: - - CELERY_BROKER_URL='redis://$${LANGFLOW_REDIS_PASSWORD:+default:$${LANGFLOW_REDIS_PASSWORD}@}$${LANGFLOW_REDIS_HOST}:$${LANGFLOW_REDIS_PORT}/$${LANGFLOW_REDIS_DB}' - FLOWER_PORT=5555 + + command: /bin/sh -c "celery -A langflow.worker.celery_app --broker=${BROKER_URL?Variable not set} flower --port=5555" deploy: labels: - traefik.enable=true @@ -213,4 +217,4 @@ volumes: networks: traefik-public: # Allow setting it to false for testing - external: false # ${TRAEFIK_PUBLIC_NETWORK_IS_EXTERNAL-true} \ No newline at end of file + external: false # ${TRAEFIK_PUBLIC_NETWORK_IS_EXTERNAL-true}