Tags | kubernetes |
Hard Prerequisites | |
IMPORTANT: Please review these prerequisites, they include important information that will help you with this content. | |
|
|
Soft Prerequisites |
|
Let’s start our Docker and Docker Compose journey!
We will use the same index.html
, nginx.conf
(with modifications) and app.py
files but this time we will deploy them using Docker and Docker Compose.
The reason we use Docker is so that we can skip all the custom installation of the pet server making it quicker and easier to deploy code on a new server or in different environments.
You will notice two docker-compose.yaml
files. One is for your local environment and one for your production environment.