Check out the post.
Build the images and spin up the containers:
$ docker-compose up -d --buildApply the migrations:
$ docker-compose exec backend aerich upgradeEnsure http://localhost:5000, http://localhost:5000/docs, and http://localhost:8080 work as expected.