I’ve tried all sorts of command line options based on the documentation which shows
gunicorn --bind 0.0.0.0:5000 'wsgi:app(api_keys=True)'
So, the api_keys format is different than the command arguments shown, and different from then environment variables. Maybe next I will try to set the environment variables within the Dockerfile to see if that makes a difference (but I’m not sure if it will with guinicorn)
So, I assumed that a comma would be a delimeter of arguments?
gunicorn --bind 0.0.0.0:5000 'wsgi:app(api_keys=True, ssl=True, load_only=[en,es,ar])'
However, that’s not working. I’m deploying in google cloud.
Failed to parse arguments as literal values: ‘app(ssl=True,load_only=[en,es,ar])’
What should I use to run the app in gunicorn?