| 1234567891011121314151617 | #!/bin/bashset -eif [[ "${MIGRATION_ENABLED}" == "true" ]]; then  echo "Running migrations"  alembic upgrade headfiif [[ "${MODE}" == "worker" ]]; then  echo "celery run"  celery -A worker.celery_app worker -c ${CELERY_WORKERS:-1} -l INFOelse  #uvicorn main:app --host 0.0.0.0 --port 8086 --workers ${APP_SERVER_WORKERS:-1}  #poetry run gunicorn -c gunicorn_config.py main:app  gunicorn -w 4 -t ${APP_SERVER_WORKERS:-1} -k uvicorn.workers.UvicornWorker --bind 0.0.0.0:8086 --threads 20 main:appfi
 |