Check out the post.
Build the images and spin up the containers:
/usr/bin/docker-compose -f docker-compose.yml -p fastapi-vue up -dApply the migrations:
/usr/bin/docker-compose exec backend aerich upgradeStop containers
/usr/bin/docker-compose -f docker-compose.yml -p fastapi-vue stop backend frontend dbEnsure http://localhost:5000, http://localhost:5000/docs, and http://localhost:8080 work as expected.