Docker will make your life a bit easier when it comes to deployment and CI/CD. This method can be used to deploy most stacks with Nginx and Postgres, ie. Flask, django-rest, FastAPI, NodeJS...
Your system must have docker-compose to follow along.
docker-compose build
docker-compose up
You would be able to access
stop the container
docker-compose down
drop to django shell
docker-compose exec web python manage.py shell
more at here
You can do whatever you want with this repo.