Summary
In this chapter, I completed the SportsStore application and prepared it for deployment to a container platform.
- The SportsStore image contains Node.js, the code and resources, and all of the JavaScript packages required to run the application.
- The container platform provides networking features that allow containers to communicate so that the SportsStore application can send requests to the database server using the name given to the Postgres container.
- The container platform can manage the number of instances of a container, which allows the SportsStore application to scale up to handle a larger number of requests.
- HTTPS requests are received by a proxy, which locates SportsStore containers using a DNS service provided by the container platform. The proxy detects when a container is down and stops forwarding requests to that container.
- HTTP requests are redirected to HTTPS by the proxy. The SportsStore containers receive only HTTP requests...