1. 程式人生 > >TeamCity - Docker創建

TeamCity - Docker創建

home agen 支持 gen docker name agent http team

// 創建Server

docker run -it --name teamcity-server-instance \
-v /home/tc_datadir:/data/teamcity_server/datadir \
-v /home/tc_logs:/opt/teamcity/logs \
-p 81:8111 \
jetbrains/teamcity-server

// 可以創建多個agent(註意,免費只支持3個)
docker run -it -d --name=teamcity-agent-1 -e SERVER_URL="http://10.0.0.8:81" \
-v /home/tc_teamcity_agent/agent1:/data/teamcity_agent/conf \
jetbrains/teamcity-agent

TeamCity - Docker創建