Ok I found that if I declare a web process as follows, it works:
web: newrelic-admin run-program gunicorn appname.wsgi
I will not mark this question as the accepted reason for the answer in the documents here , he writes that this line is for "Flask with the Embedded Development Server". Therefore, this is a temporary solution, in any case, perhaps it helps someone.
source share