Running alembic migrations whenever api container is started.

This commit is contained in:
Roland 2025-06-29 18:38:32 -06:00
parent 78a83dc63e
commit 833f58dbfb
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
9 changed files with 131 additions and 28 deletions

View file

@ -6,6 +6,4 @@ docker volume create --name=openstreetmap-rendered-tiles
git submodule update --init
docker compose pull
docker compose build --parallel
docker compose up -d db
docker compose run --rm api db upgrade
docker compose stop