TeamCity is a Java-based build management and continuous integration server from JetBrains.In this tutorial we will see a very basic example of setting up a teamcity server and agent using docker images.
sudo apt install docker.io
sudo usermod -aG docker $USER
logout
//login again using ssh
//pull server
docker pull jetbrains/teamcity-server
//pull agent
docker pull jetbrains/teamcity-agent
cd
mkdir -p ~/tcdata/server/data
mkdir tcdata/server/logs
mkdir -p ~/tcdata/agent/conf
//Start Containers in the background.
docker run -itd --name teamcity-server-instance -v /home/ubuntu/tcdata/server/data:/data/teamcity_server/datadir -v /home/ubuntu/tcdata/server/logs:/opt/teamcity/logs -p 8111:8111 jetbrains/teamcity-server
docker run -itd -e SERVER_URL="http://server-ip:8111" -v /home/ubuntu/tcdata/agent/conf:/data/teamcity_agent/conf jetbrains/teamcity-agent
Access server here:
http://server-ip:8111
Select local HSQLDB Database and create a user and log in.
Go to Agents tab and Authorize agent.
awesome
ReplyDeleteIn the event that you changed the picture, you should imitate the progressions to the new TeamCity server picture. When all is said in done, utilize Docker presence of mind to play out the overhaul.
ReplyDeleteReally great post It was so lovely to meet you, can't wait to catch up again
ReplyDeletefor your blog.
Data Destruction Services