🔧 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:
parent
87339b9442
commit
6546e2f543
1 changed files with 7 additions and 3 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue