How can I run multiple instances of TeamCity on the same server?

前端 未结 2 862
温柔的废话
温柔的废话 2021-01-31 22:29

I am on Windows and trying to run multiple (currently two) instances of TeamCity on the same server. I chose not to install the Windows services and instead run the server via <

2条回答
  •  别跟我提以往
    2021-01-31 22:29

    You need to edit conf\server.xml for the second Tomcat/TeamCity instance so that it uses different ports or binds to different network interfaces, changing the following ports should be enough:

    • Server port="8005"
    • Connector port="8080"

    Two servers cannot share the same database, so you must configure them to use different locations via TEAMCITY_DATA_PATH environment variable.

    If you also want to run multiple agents on the same machine, refer to my answer here.

提交回复
热议问题