Skip to main content
5 votes

What's the benefit of using Nginx to serve a Flask API on AWS?

Unless you are using the AWS API Gateway, you'll still need some way of "serving" your Flask API. You will also need to provision an EC2 instance and run something to serve your API. Instead of ...
Wesley Rolnick's user avatar
2 votes

hello world with flask and redis using docker networking

Yes, it's absolutely reasonable and this is how real apps work. This is the microservice approach which allows to independently scale instances of a service and a DB. What you have to do is to run ...
AivanF.'s user avatar
  • 181
1 vote

Best approach to toggle app availability in azure?

You are looking for Serverless. The app will be auto-scaled up if there's a demand.'s user avatar
1 vote

Docker container host machine communication

You can run your flask container using the host networking mode. This way docker won't isolate the container and will run it the same network namespace as the host, and you container will be able to ...
Iduoad's user avatar
  • 146
1 vote

Is it a bad idea to use a web app including nginx, gunicorn and flask in a single docker container?

While this is possible it is not a best practice. Whenever possible, containers should contain a single process. The reasoning for this is: It fosters a modular design where you can more easily ...
Wesley Rolnick's user avatar
1 vote

Where can I find a Dockerfile + required files to create a Flask/MySQL forum/webapp with users?

This question seems to be in two parts: How to deploy a flask+database app in Docker? Is there a non-trivial application to use as example? The second part is difficult to answer, it will depend on ...
Bruce Becker's user avatar
  • 3,583

Only top scored, non community-wiki answers of a minimum length are eligible