Wait for the postgres Docker Compose service to become available instead of naively sleeping for 5 seconds before running Alembic migrations. Implemented using the popular wait-for-it.sh script (added to the repo as a git submodule).
I'd rather the wait for it script be copied into the scripts directory than maintaining it as a submodule personally. That script is made to be copy+pasted anyway.
Wait for the
postgres
Docker Compose service to become available instead of naively sleeping for 5 seconds before running Alembic migrations. Implemented using the popularwait-for-it.sh
script (added to the repo as a git submodule).