🔧 chore(docker-compose.yml): update flower service image to "ogabrielluiz/langflow:latest" for consistency and reliability

🔧 chore(docker-compose.yml): add build configuration to flower service to use base.Dockerfile for building the image
🔧 chore(docker-compose.yml): update command for flower service to use the correct broker URL and set the port to 5555
🔧 chore(docker-compose.yml): remove unnecessary comment at the end of the file
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-09-11 11:50:12 -03:00
commit 6546e2f543

View file

@ -140,12 +140,16 @@ services:
replicas: 1 replicas: 1
flower: flower:
image: mher/flower image: "ogabrielluiz/langflow:latest"
networks: networks:
- default - default
build:
context: ../
dockerfile: base.Dockerfile
environment: environment:
- CELERY_BROKER_URL='redis://$${LANGFLOW_REDIS_PASSWORD:+default:$${LANGFLOW_REDIS_PASSWORD}@}$${LANGFLOW_REDIS_HOST}:$${LANGFLOW_REDIS_PORT}/$${LANGFLOW_REDIS_DB}'
- FLOWER_PORT=5555 - FLOWER_PORT=5555
command: /bin/sh -c "celery -A langflow.worker.celery_app --broker=${BROKER_URL?Variable not set} flower --port=5555"
deploy: deploy:
labels: labels:
- traefik.enable=true - traefik.enable=true