This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker pull jetbrains/teamcity-server | |
docker run -it --name teamcity-server-instance -v /mnt/hd3tb/teamcity_server/datadir:/data/teamcity_server/datadir -v /mnt/hd3tb/teamcity/logs:/opt/teamcity/logs -p 8111:8111 jetbrains/teamcity-server | |
docker pull jetbrains/teamcity-agent | |
docker run -it -e SERVER_URL="http://10.1.0.21/:8111" -e AGENT_NAME="tc-aws-agent" -v /mnt/hd3tb/teamcity/teamcity_agent/conf:/data/teamcity_agent/conf jetbrains/teamcity-agent | |
# inside teamcity agent do following: | |
apt-get -y update; | |
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev; |