Docker gunicorn process correctly starts up but doesn't run the app
See original GitHub issueNot sure if clone of #150.
I have local AWS credentials (in ~/.aws
) and the configuration variables passed to Docker via a CLI arg but nothing shows up when I navigate to the app’s address. In addition, tables aren’t created/there’s nothing that indicates a running process. I run:
> docker run --env-file DOCKER_CONFIG -t lyft/confidant
What I see when I navigate to http://0.0.0.0:80
:
Do the KMS master or auth keys have to be created manually in AWS’ IAM in order to get this running?
Thank you!
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Gunicorn is stuck on docker run command with a Flask ...
So see docker ps , search for the symbol -> in PORTS column (you should see 0.0.0.0:8000->8000 . Then, navigate to localhost:8000 in...
Read more >Dockerizing a Python Django Web Application
Get an understanding of how to dockerize your Django application, using the Gunicorn web server, capable of serving thousands of requests in ...
Read more >tiangolo/uvicorn-gunicorn-machine-learning - Docker Image
Python web applications running with Uvicorn (using the "ASGI" ... You can use Gunicorn to manage Uvicorn and run multiple of these concurrent...
Read more >Best Practices Around Production Ready Web Apps with ...
Here's a few patterns I've picked up based on using Docker since 2014. I've extracted these from doing a bunch of freelance work....
Read more >Configure Linux Python apps - Azure App Service
This article describes how Azure App Service runs Python apps, ... for a file named application.py or app.py and starts Gunicorn as follows:....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@arjunblj – how’d you resolve this?
Full log for
docker-compose up
service.env
has my real env variables and Google Auth is set up correctly. I’ve also added logging to the gunicorn task with--log-level
set todebug
, but nothing additional is logged out.