✨ 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
6 lines
282 B
Bash
Executable file
6 lines
282 B
Bash
Executable file
#!/bin/bash
|
|
|
|
export LANGFLOW_DATABASE_URL="postgresql://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME}"
|
|
|
|
# Your command to start the backend
|
|
exec python -m uvicorn --factory langflow.main:create_app --host 0.0.0.0 --port 7860 --log-level ${LOG_LEVEL:-info} --workers -1
|