Technical requirements
To complete the exercises in this chapter, you'll need Git and Docker on your local workstation, and you will need a single host capable of running Linux and Docker for your production server, connected to a network that you can SSH into and that your users can reach.
The GitHub repository for this chapter can be found at https://github.com/PacktPublishing/Docker-for-Developers—please refer to the chapter6
folder.
Check out the following video to see the Code in Action:
Example application – ShipIt Clicker v2
The version of ShipIt Clicker in this chapter is more polished than the one we used in Chapter 5, Alternatives for Deploying and Running Containers in Production. It has the following features:
- An improved Dockerfile and
docker-compose.yml
file suitable for basic production use - Storage of game state in Redis tied to a server session, leading to distinct game states for different client...