To create a demonstration, we will use TeamCity CI, developed by JetBrains. This product is similar to Jenkins in some features, but it's simpler to bootstrap and deploy for our demonstration. We will bootstrap our own CI environment and configure our own building tasks for it. TeamCity has a free plan that's enough for building small and medium projects. We will also use a Gogs Git server to have a private SCM server for our building needs. Let's start.
Demonstration of continuous integration
Docker Compose
Create an empty docker-compose.yml file and add a services section to it:
version: '3.1'
services: