🐛 fix(base.Dockerfile): remove unnecessary copy of ./src/backend directory to improve build performance
✨ feat(base.Dockerfile): add healthcheck for queue and celeryworker services to ensure their availability ✨ feat(docker-compose.yml): add healthcheck for queue, celeryworker, and flower services to ensure their availability 🐛 fix(docker-compose.yml): fix the path in the command for backend service startup 🐛 fix(flower.env): add missing double quote at the end of C_FORCE_ROOT value 🐛 fix(startup-backend.sh): remove unnecessary --reload flag from uvicorn command and add --workers -1 flag to utilize all available CPU cores
This commit is contained in:
parent
79b48efddf
commit
a7ff7da778
4 changed files with 21 additions and 6 deletions
|
|
@ -3,4 +3,4 @@
|
|||
export LANGFLOW_DATABASE_URL="postgresql://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME}"
|
||||
|
||||
# Your command to start the backend
|
||||
exec uvicorn --factory langflow.main:create_app --host 0.0.0.0 --port 7860 --reload --log-level ${LOG_LEVEL:-info}
|
||||
exec python -m uvicorn --factory langflow.main:create_app --host 0.0.0.0 --port 7860 --log-level ${LOG_LEVEL:-info} --workers -1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue