Running migrations
Never run migrations from the container entrypoint.
docker/prod/entrypoint.sh deliberately does not — with several replicas,
per-container migrations race against the same database.
docker/prod/release.sh is the one-shot release step, run once per deploy:
docker run --rm --env-file <your prod env file> <image> docker/prod/release.shThe two topologies below each have their own way of invoking it.