Move Django management commands (migrate, collectstatic, ta_envcheck, ta_connection, ta_startup) into run.sh startup wrapper that: - Waits up to 60s for ElasticSearch to be healthy - Runs all init commands before starting uvicorn - Matches Docker's run.sh approach This fixes ta_startup failing during install because ES wasn't ready. The commands now run at every service start with ES readiness check.
2.8 KiB
2.8 KiB