Make your app wait for its migrations: a Compose migration job
Originally published on the Hubfly blog.
TL;DR
What you get: a 3-service Compose file (Postgres, a one-shot migration job, an API) where the API cannot start until the migration exits 0.
Who it's f
octave.hashnode.dev11 min read