I use /srv folder as a root folder for all the data related to TeamCity builds and here is the full hierarchy of folders you will need to create inside of /srv: The detailed instructions on installing Docker for Ubuntu are available at and to install Docker Compose use apt-get: sudo apt-get install docker-compose If you are starting from a clean system, you will need to install Docker and Docker Compose first. PostgreSQL database and all the data generated by TeamCity are persisted on a local drive using Docker mounted volumes. So, the full stack includes five Docker containers, one for PostgreSQL, one for TeamCity server and three for the build agents. For the described case, I use PostgreSQL running in a Docker container as well. This solution can be equally easy deployed on a local system or in cloud, like Azure or AWS.įor use of TeamCity in production environment, it is recommended to use an external database for storing the configuration data. Additionally, the server and the agents are configured to support. ![]() ![]() The starting point is a clean Ubuntu 16.04 LTS server, and the goal is to run TeamCity server, build agents and PostgreSQL on this system using Docker containers. ![]() This post provides a step-by-step guide on installing and configuring TeamCity. Professional Edition is free and its limitations are acceptable for the project – up to three build agents and up to twenty build configurations. NET Core project and, having a good previous experience with JetBrains TeamCity, I decided to use it in this case as well. Recently, I had a need to setup a build pipeline for a medium size.
0 Comments
Leave a Reply. |