There is some official documentation out there on this topic, but I didn’t find it particularly clear, so I decided to share my setup.
The production.py should roughly look like this: