mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-23 17:58:35 +08:00
🔧 chore(docker-compose.yml): update volume path to correctly mount parent directory for the app
🔧 chore(docker-compose.yml): update Redis image version to 7.2.0 for the queue service 🔧 chore(docker-compose.yml): update command for the flower service to use environment variables for Redis connection details 🔧 chore(flower.env): add LANGFLOW_REDIS_PASSWORD environment variable
This commit is contained in:
@ -14,7 +14,7 @@ services:
|
||||
ports:
|
||||
- "7860:7860"
|
||||
volumes:
|
||||
- ./:/app
|
||||
- ../:/app
|
||||
- ./startup-backend.sh:/startup-backend.sh # Ensure the paths match
|
||||
command: /startup-backend.sh # Fixed the path
|
||||
|
||||
@ -37,7 +37,7 @@ services:
|
||||
- ./pgadmin:/var/lib/pgadmin
|
||||
|
||||
queue:
|
||||
image: redis:6.2.5 # Use a specific version
|
||||
image: redis:7.2.0
|
||||
ports:
|
||||
- "6379:6379"
|
||||
|
||||
@ -63,7 +63,7 @@ services:
|
||||
dockerfile: base.Dockerfile
|
||||
env_file:
|
||||
- ./flower.env
|
||||
command: celery -A langflow.worker.celery_app --broker=redis://queue:6379/0 flower --port=5555
|
||||
command: /bin/sh -c "celery -A langflow.worker.celery_app --broker=redis://$${LANGFLOW_REDIS_PASSWORD:+default:$${LANGFLOW_REDIS_PASSWORD}@}$${LANGFLOW_REDIS_HOST}:$${LANGFLOW_REDIS_PORT}/$${LANGFLOW_REDIS_DB} flower --port=5555"
|
||||
ports:
|
||||
- "5555:5555"
|
||||
|
||||
|
||||
@ -3,3 +3,4 @@ LANGFLOW_REDIS_HOST=queue
|
||||
LANGFLOW_REDIS_PORT=6379
|
||||
LANGFLOW_REDIS_DB=0
|
||||
LANGFLOW_REDIS_EXPIRE=3600
|
||||
LANGFLOW_REDIS_PASSWORD=
|
||||
|
||||
Reference in New Issue
Block a user