Tags | kubernetes |
Hard Prerequisites | |
IMPORTANT: Please review these prerequisites, they include important information that will help you with this content. | |
|
|
Soft Prerequisites |
|
Let’s run our Docker Compose production environment!
On your EC2 instance, pull the repository changes from GitHub:
# pulls the changes
cd /home/ubuntu/umuzi-k8s
git pull
Let’s build the containers and get them up and running:
# builds the containers
docker-compose build
# runs the containers
# -d will run everything on the background
docker-compose up -d
To see if everything is running nicely, take a look at the Docker Compose logs:
# verifies the logs
docker-compose logs
Now you should be able to access the Python app via the https://your-domain
address.