SF Food Trucks
Dockerize web app that resembles a real-world app. The app was created based on this GitHub repo http://github.com/prakhar1989/FoodTrucks
I use this as my candidate app for learning out how to build, run and deploy a multi-container environment.
Please do not use for anything except for testing purposes only.
The app's backend is written in Python (Flask) and for search it uses Elasticsearch.
How we can Dockerize the app
We can see that the app consists of a Flask backend server and an Elasticsearch service. A natural way to split this app would be to have two containers - one running the Flask process and another running the Elasticsearch (ES) process. That way if our app becomes popular, we can scale it by adding more containers depending on where the bottleneck lies.