GUIDO BARBAGLIA
Updated 29 days ago
Although these examples are very useful to understand the Docker setup, the objective of this post is to present a situation that is closer (just a little bit) to the real life. The final Docker image will contain the REST services, and it will be possible to install the whole application on any machine supporting Docker. In addition to having a fully functional web application that can be quickly deployed, this approach also allows the versioning, the configurability, the portability and the share of the deploy objects, a... The architecture is composed by two back-end modules: the main REST service and an additional service implemented as a Flask blueprint. A Flask blueprint "works similarly to a Flask application object, but it is not actually an application. Rather it is a blueprint of how to construct or extend an application". The use of such objects allows the implementation of a modular back-end... Enters Docker. The final goal is to encapsulate the whole application inside..