Dev containers support Docker Compose, is running the database inside the dev container preferable to using that? Or is that what you meant?
https://github.com/pamelafox/django-quiz-app/blob/main/.devc...
There are a few config options there that took some tweaking.