🔧 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
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}
external: false # ${TRAEFIK_PUBLIC_NETWORK_IS_EXTERNAL-true}