Заходим внутрь контейнера
docker ps
docker exec -it [CONTAINER_ID] bash
Внутри контейнера
# Обновить миргации
alembic upgrade head
# Откатить миграции
alembic downgrade base
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
dependencies-in-path-operation-decorators
build-high-performing-apps-with-the-python-fastapi-framework
[12]