00-setup
Throughout these exercises, we will be using the same Spring Boot application, where the endgoal is to dockerize the application as well as the database, using Docker Compose.
01-dockerfile
A Dockerfile is a file that contains all the commands to build a Docker image. It contains all information needed to create a Docker container, including the base image, environment variables, and any dependencies required to run the application.
02-dockerfile-multi
In the previous exercise, we created a Dockerfile for a Spring Boot application.
03-docker-network
When running Docker containers, they run inside a lightweight, isolated environment. By default, each container has its own network namespace with its own IP address, routes, and network interfaces. To allow containers to communicate with each other or with the outside world, Docker provides several networking modes.
04-docker-compose
Docker compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application's services, networks, and volumes. Then, with a single command, you create and start all the services from your configuration.
05-docker-compose-multi
So far we have only seen one service being run inside docker compose. In this exercise we will define two services, that can communicate with each other, and be started using a single command.
06-docker-compose-env
Goal:
07-docker-compose-enhanced
Goal:
08-docker-compose-network
Goal:
09-docker-compose-reverse-proxy
Goal: